We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

GratefulLearner
Posts: 3
Joined: Fri Feb 12, 2021 7:48 pm

Inline Powerhsell not running under Single MSI Build. Runs in single EXE build

Hello.

I've run into an issue with signed inline powershell not executing as expected.
I've created a simple test for this. A MSI install where the only action is a custom action. The action is a signed inline powershell.

The Code is extremely simple, simply restarts a service:
#
Net stop ServiceNameHere
Net start ServiceNameHere
#

If I build this test as a Single EXE build --> It works as intended and does the action.
If I build this as a Single MSI build --> the program crashes with error code 1603.
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Inline Powerhsell not running under Single MSI Build. Runs in single EXE build

Hello,

I have tested this and everything worked as expected on my end.

If possible, could you please forward me a copy of the sample .AIP file and a test-case which I can follow in order to reproduce this?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”