nprigent
Posts: 3
Joined: Thu Jul 12, 2018 2:57 pm

MSI - Launch EXE with config file

Hi,

I try to create an MSI package that will run an EXE with a configuration file.
img3.png
img3.png (42.83 KiB) Viewed 3480 times
I added the EXE + the config file in the files and folders section

When I run the MSI, the error message is:
There is a problem with this windows installer package.
A program required for this install to complete could not be run.
Thank you for your help

Nicolas
nprigent
Posts: 3
Joined: Thu Jul 12, 2018 2:57 pm

Re: MSI - Launch EXE with config file

hi,

Following the screenshot in this post: viewtopic.php?f=2&t=35854, my MSI package is now installed but my configuration file "custom.inf" has not been applied during the installation process.
What am I missing here?
img5.png
img5.png (29 KiB) Viewed 3464 times
The "custom.inf" file has been added to "additional files" ... but still not applied.

Thank you for your help

Nicolas
Catalin
Posts: 6592
Joined: Wed Jun 13, 2018 7:49 am

Re: MSI - Launch EXE with config file

Hello Nicolas,

First of all, I am sorry for my delayed reply.

In what regards the issue you had in your first thread, that most probably happens because some custom actions need to run elevated, otherwise they will fail. In order to avoid that, you can set the "Execution Time" as "When the system is being modified (deferred)" and under "Execution options", you can check the "Run under the LocalSystem account with full privileges (no impersonation)".

Can you please try the options presented above and let me know the results?

In what regards the issue you are facing in your second thread, I am not sure why that happens. In order for me to further investigate, can you please send me the .aip (project file) and the configuration file needed (the one you are using) by e-mail at support at advancedinstaller dot com?

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

Return to “Common Problems”