Search found 78 matches

Go to advanced search

by sasha
Wed Jan 21, 2026 2:11 am
Forum: Common Problems
Topic: PowerShell custom actions behave differently
Replies: 6
Views: 1468
 
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: 1647
 
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: 1468
 
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: 1468
 
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 ...
by sasha
Tue Jan 13, 2026 11:10 pm
Forum: Common Problems
Topic: Change in the UI - is it possible to restore the previous one?
Replies: 9
Views: 1647
 
Jump to post

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

Thank you! I find it was very useful to isolate custom actions used in either of the flows.
by sasha
Mon Jan 12, 2026 9:46 pm
Forum: Common Problems
Topic: Change in the UI - is it possible to restore the previous one?
Replies: 9
Views: 1647
 
Jump to post

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

Thanks for the reply, Catalin.

Unfortunately, I don't see the old UI that says Show: 'All', Uninstall', 'Maintenance' filters in the UI in the compact view.

Perhaps something else I'm not doing?
by sasha
Thu Jan 08, 2026 12:03 am
Forum: Common Problems
Topic: PowerShell custom actions behave differently
Replies: 6
Views: 1468
 
Jump to post

PowerShell custom actions behave differently

Hello!

I have a PS custom action that behaves differently, depending on the GUI or non-interactive flow of the installer.

Here is a sample code from the CA:

$script = $args[0]

. "$cript" # source the PS script file that is present as a temporary file via the 'Files and Folders' options ...
by sasha
Wed Jan 07, 2026 11:51 pm
Forum: Common Problems
Topic: Change in the UI - is it possible to restore the previous one?
Replies: 9
Views: 1647
 
Jump to post

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

Hello! Previous versions of AI had a very handy view in the Custom Actions pane - All, Install, Uninstall, Maintenance.
The latest version doesn't have that.

Is there a way to re-enable the old UI, please?

Thanks!
by sasha
Wed Jan 07, 2026 11:46 pm
Forum: Common Problems
Topic: Installer allows a tampered script
Replies: 15
Views: 3507
 
Jump to post

Re: Installer allows a tampered script

Hello!

It's coming up on 6 months now. Is there any update on this issue?

Thanks!
by sasha
Wed Jan 07, 2026 3:25 am
Forum: Common Problems
Topic: Hide Updater Cancel Button
Replies: 6
Views: 6678
 
Jump to post

Re: Hide Updater Cancel Button

As was posted elsewhere, it is possible to disable the Cancel button (or even hide it) using VBScript - it takes just 4 line.
But with VBScript going away, there needs to be another option. If PowerShell inline script had access to the MSI Session object, it would be possible to replicate the same ...
by sasha
Mon Sep 29, 2025 11:22 pm
Forum: Common Problems
Topic: An issue with running PowerShell scripts
Replies: 6
Views: 21627
 
Jump to post

Re: An issue with running PowerShell scripts

An update.
At this point I don't think this is a problem in the Advanced Installer.
Our PowerShell script CA executes another script, which is located in a folder like this: C:\Users\user1~1.nam\AppData\Local\Temp\{77344E7F-E3D2-4990-8266-1A782F66B7B4}\installscripts.ps1
The path was passed in from ...
by sasha
Thu Sep 25, 2025 10:14 pm
Forum: Common Problems
Topic: An issue with running PowerShell scripts
Replies: 6
Views: 21627
 
Jump to post

Re: An issue with running PowerShell scripts

Hi Catalin. The time has come to revisit this issue :)

To reiterate, the installer fails to execute a powershell script when a user's temp folder environment variable is set in the short form, i,e. like this: c:\users\dom~1\tmp
The script is marked to be run from a temp folder in the .aip file ...
by sasha
Mon Sep 15, 2025 8:08 pm
Forum: Common Problems
Topic: Installer allows a tampered script
Replies: 15
Views: 3507
 
Jump to post

Re: Installer allows a tampered script

Sounds good, thanks.
by sasha
Sat Sep 13, 2025 3:20 am
Forum: Common Problems
Topic: Installer allows a tampered script
Replies: 15
Views: 3507
 
Jump to post

Re: Installer allows a tampered script

Hello Catalin!

I wonder if there is an update for this issue?

Thanks!

Go to advanced search