Search found 12 matches

Go to advanced search

by cadull
Tue Aug 26, 2025 5:54 am
Forum: Common Problems
Topic: Unable to run advinst.exe on build server with version 22.9.1
Replies: 3
Views: 421
 
Jump to post

Re: Unable to run advinst.exe on build server with version 22.9.1

Thanks Catalin,

We expect to update the OS version sometime next year and using 22.8 should be ok until then.

Regards,
cadull
by cadull
Fri Aug 22, 2025 1:15 am
Forum: Common Problems
Topic: Unable to run advinst.exe on build server with version 22.9.1
Replies: 3
Views: 421
 
Jump to post

Unable to run advinst.exe on build server with version 22.9.1

On Windows Server 2016 with a self-hosted Azure Agent, advinst.exe from version 22.9.1, installed by task AdvancedInstallerTool@2, fails to execute with the following error dialog:

The program can't start because api-ms-win-core-apiquery-I2-1-0.dll
is missing from your computer. Try reinstalling ...
by cadull
Mon May 26, 2025 1:16 am
Forum: Common Problems
Topic: NewPrerequisite: registry value does not exist
Replies: 6
Views: 3662
 
Jump to post

Re: NewPrerequisite: registry value does not exist

Thanks Catalin.
by cadull
Wed Oct 07, 2020 7:09 am
Forum: Common Problems
Topic: NewPrerequisite: registry value does not exist
Replies: 6
Views: 3662
 
Jump to post

Re: NewPrerequisite: registry value does not exist

Thanks Catalin, I think I can work around this limitation by moving the prerequisite from preinstall to postinstall and establishing searchable criteria during the install.
by cadull
Tue Oct 06, 2020 7:08 am
Forum: Common Problems
Topic: NewPrerequisite: registry value does not exist
Replies: 6
Views: 3662
 
Jump to post

NewPrerequisite: registry value does not exist

I'm adding a number of new prerequisites from the command line, each having three install conditions. Two are covered by the search types FileVersion and RegValue, but how can I check that a registry value does not exist?
by cadull
Fri May 22, 2020 7:52 am
Forum: Building Installers
Topic: Reducing download size and install time
Replies: 1
Views: 1856
 
Jump to post

Reducing download size and install time

A web installer can have multiple features with a separate cab file for each. The cab file will only be downloaded if the feature is to be installed.

In our case we have some features that are large in size and change infrequently. Ideally we would like to only download and install these the first ...
by cadull
Thu Mar 12, 2020 11:05 pm
Forum: Common Problems
Topic: Spaces and trailing backslash issue when passed to custom action
Replies: 2
Views: 2378
 
Jump to post

Re: Spaces and trailing backslash issue when passed to custom action

Found that this is just the way command line arguments are processed (i.e. as passed to icacls).

There is a FAQ for removing the trailing backslash with VBScript.

In PowerShell, I've used:

Code: Select all

$test4.TrimEnd('\')
by cadull
Thu Mar 12, 2020 7:00 am
Forum: Common Problems
Topic: Spaces and trailing backslash issue when passed to custom action
Replies: 2
Views: 2378
 
Jump to post

Spaces and trailing backslash issue when passed to custom action

Attached sample project creates 4 properties. Only the last one contains a space and has a trailing backslash.


TEST1 = "C:\ProgramData"
TEST2 = "C:\ProgramData\"
TEST3 = "C:\Program Files"
TEST4 = "C:\Program Files\"


When passed to a PowerShell custom action, in property TEST4 the trailing ...
by cadull
Thu Mar 12, 2020 12:39 am
Forum: Common Problems
Topic: Azure pipeline missing updater.exe in version 16.8.1
Replies: 3
Views: 4163
 
Jump to post

Re: Azure pipeline missing updater.exe in version 16.8.1

Thank you. I found that Sophos had issues with this file and also C:\azagent\A1\_work\_tool\advinst\16.8.1\x86\bin\x86\registryTracer32.dll.

Deleting the cached tool and running the pipeline again has restored the missing files.
by cadull
Tue Mar 10, 2020 11:05 pm
Forum: Common Problems
Topic: Azure pipeline missing updater.exe in version 16.8.1
Replies: 3
Views: 4163
 
Jump to post

Azure pipeline missing updater.exe in version 16.8.1

Azure pipeline build using Advanced Installer 16.8.1 fails with the following message.
Resources referred by the project are missing:
C:\azagent\A1\_work\_tool\advinst\16.8.1\x86\stubs\x86\updater.exe
The build is successful when using version 16.8.0.
by cadull
Tue Mar 03, 2020 1:25 am
Forum: Common Problems
Topic: Windows feature XPS Viewer not installing
Replies: 4
Views: 8456
 
Jump to post

Re: Windows feature XPS Viewer not installing

Thank you for investigating and providing a workaround until a fix is released.

For now we have just set the feature unavailable policy to ignore error and continue installation. This is because we are almost ready to release and we expect the support overhead to be minimal from our captive user ...
by cadull
Fri Feb 28, 2020 12:57 am
Forum: Common Problems
Topic: Windows feature XPS Viewer not installing
Replies: 4
Views: 8456
 
Jump to post

Windows feature XPS Viewer not installing

In newer versions of Windows 10, the way the Windows feature "XPS Viewer" is installed has changed. It used to be listed in the Windows features under Programs and Features, but is now added as an optional feature under Apps and Features. When adding the prerequisite in Advanced Installer, it does ...

Go to advanced search