Search found 88 matches

Go to advanced search

by sasha
Tue Apr 28, 2026 3:47 am
Forum: Common Problems
Topic: Visual C++ prerequisites - to be installed silently
Replies: 5
Views: 6201
 
Jump to post

Re: Visual C++ prerequisites - to be installed silently

Dear Catalin,

thanks for the reply and sorry about a delayed response.

I didn't mean the UAC, but rather the installer dialog changing into the one showing the VC++ redistributable with the checkmark prompting to install it.

Fortunately, as I started working on creating a reproducible .aip, I ...
by sasha
Fri Apr 10, 2026 7:10 pm
Forum: Common Problems
Topic: A truly strange issue
Replies: 1
Views: 6559
 
Jump to post

A truly strange issue

Hello,

before I describe the issue, I have to state that I am of sound mind and don't believe in miracles.

Now, I am seeing a really strange issue. We have a PowerShell script that is executed via the 'run powershell script file' custom action. In the script, a few properties are read and set.
I ...
by sasha
Fri Apr 10, 2026 6:59 pm
Forum: Common Problems
Topic: Visual C++ prerequisites - to be installed silently
Replies: 5
Views: 6201
 
Jump to post

Re: Visual C++ prerequisites - to be installed silently

Dear Liviu,

unfortunately, I can't supply the .aip file. I'll see if I can come up with a reduced/new .aip.
by sasha
Wed Apr 01, 2026 7:54 pm
Forum: Common Problems
Topic: Visual C++ prerequisites - to be installed silently
Replies: 5
Views: 6201
 
Jump to post

Visual C++ prerequisites - to be installed silently

Hello!

I have recently added installation of the VC++ redistributables to our installer. I have specified the /q /norestart to all 3 types if installation (on the 'Installation' page).
I expected that the installation would always be silent. Alas, when running with the full UI, there is the prompt ...
by sasha
Wed Apr 01, 2026 7:36 pm
Forum: Common Problems
Topic: Azure Artifact Signing with AI
Replies: 3
Views: 9016
 
Jump to post

Re: Azure Artifact Signing with AI

Thanks, Catalin.

The issue mentioned in the thread you linked is exactly what I see. Our Jenkins agents are hosted in Azure. Maybe there is some strange interaction.
I agree, this is something that MSFT should ultimately fix. Meanwhile - workarounds :)
by sasha
Fri Mar 27, 2026 10:11 pm
Forum: Common Problems
Topic: Azure Artifact Signing with AI
Replies: 3
Views: 9016
 
Jump to post

Azure Artifact Signing with AI

Hello!

We recently switched to the AAS for our signing needs. A part of signing is done by our build scripts using signtool.exe. Another part is performed by Advanced installer.

One thing I noticed with AAS is that on occasion, signtool.exe will simply hang. It will never exit (I've not tried ...
by sasha
Tue Mar 10, 2026 1:20 am
Forum: Common Problems
Topic: Installer allows a tampered script
Replies: 22
Views: 17588
 
Jump to post

Re: Installer allows a tampered script

Thanks, Catalin.

I do use the 'attached script' in some places and 'inline PS script' in other places.
The thing is that the inline PS script sources the temporary file via the dot operator.


$script = $param

. $script
# some PS code before calling a function from the temporary PS script file ...
by sasha
Wed Mar 04, 2026 1:12 am
Forum: Common Problems
Topic: Installer allows a tampered script
Replies: 22
Views: 17588
 
Jump to post

Re: Installer allows a tampered script

I just gave it a try.

Started the installer, found the .ps1 file extracted into the temp folder. Opened it - it's signed.
Modified the file, including deleting a part of the signature block.
Proceeded with the installation. It went without a hitch.

I suppose the reason for that is that this temp ...
by sasha
Tue Mar 03, 2026 7:35 pm
Forum: Common Problems
Topic: Installer allows a tampered script
Replies: 22
Views: 17588
 
Jump to post

Re: Installer allows a tampered script

yes, I noticed that.
by sasha
Fri Feb 27, 2026 9:45 pm
Forum: Common Problems
Topic: Installer allows a tampered script
Replies: 22
Views: 17588
 
Jump to post

Re: Installer allows a tampered script

I see that v23.5 has implemented the integrity check now.
Thanks.
by sasha
Wed Jan 21, 2026 2:11 am
Forum: Common Problems
Topic: PowerShell custom actions behave differently
Replies: 6
Views: 7781
 
Jump to post

Re: PowerShell custom actions behave differently

Thanks for the reply, Catalin. I'll see if I can move the CA to the place where the temp file is available or I really need it earlier.
by sasha
Wed Jan 21, 2026 2:07 am
Forum: Common Problems
Topic: Change in the UI - is it possible to restore the previous one?
Replies: 9
Views: 7944
 
Jump to post

Re: Change in the UI - is it possible to restore the previous one?

Thanks for the update, Catalin.

Perhaps just an ability to filter the CA list by the 'install', 'uninstall' and 'maintenance' as used in the checkboxes in the CA definitions? Somehow AI knows to keep those checkboxes, so perhaps the same data can be used for the filters?

Thanks!
by sasha
Wed Jan 14, 2026 2:36 am
Forum: Common Problems
Topic: PowerShell custom actions behave differently
Replies: 6
Views: 7781
 
Jump to post

Re: PowerShell custom actions behave differently

basically, some properties are not available (in particular, the script file path), at certain sequences, even though the CA is immediate.

After some more research, I think the root of the problem is that the PS script file is simply not extracted yet by the time the CA runs. Not sure why it is ...
by sasha
Wed Jan 14, 2026 12:38 am
Forum: Common Problems
Topic: PowerShell custom actions behave differently
Replies: 6
Views: 7781
 
Jump to post

Re: PowerShell custom actions behave differently

Catalin, I've created a sample Enterprise project that demonstrates the problem.

Initially it all worked. But once I moved the CA to its intended place (sequence 52), got the error message

ERROR: The expression after '.' in a pipeline element produced an object that was not valid. It must result ...

Go to advanced search