Search found 82 matches

Go to advanced search

by sasha
Tue Mar 10, 2026 1:20 am
Forum: Common Problems
Topic: Installer allows a tampered script
Replies: 22
Views: 10325
 
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: 10325
 
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: 10325
 
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: 10325
 
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: 5242
 
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: 6050
 
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: 5242
 
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: 5242
 
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: 6050
 
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: 6050
 
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: 5242
 
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: 6050
 
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: 22
Views: 10325
 
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: 10528
 
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 ...

Go to advanced search