j.schulz
Posts: 2
Joined: Fri Aug 10, 2018 2:16 pm

Custom Action doesn't work

Hi,

i am building msi packages from exe installer, therefore i keep it simple and add the installer
to the temporary folder and use a custom action to trigger the installer with silent parameters.

This is working fine for the most installer for example Greenshot.

Now i am trying to do the exact same thing with notepad++ and i receive an error message from the msi:

Image

The custom action is doint nothing else then triffering the installer, all i get is that error and even if i
create a msi log i don't know what should be the error, when i check the temp folder the installer has been copied
to the location and can manually been executed, why is that not working over the msi?

I have no clue why that isn't working can someone help please.
Catalin
Posts: 6592
Joined: Wed Jun 13, 2018 7:49 am

Re: Custom Action doesn't work

Hello and welcome to our forums,

Some custom actions may need elevation for being able to run. In your scenario, as the warning states, the program could not be run, most probably due to not enough privileges.

In order to avoid this, you can simply check the "Run under the LocalSystem account with full privileges (no impersonation)" option from under the "Execution Options".

Let me know if this helps!

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

Return to “Common Problems”