My installer needs to bundle an EXE which is a third-party installer (Nero Burning ROM). I have created a custom action under UI Custom Actions, using the "Launch file as administrator" predefined action. No matter what I do I can't seem to get this action to run correctly. I get the following error each time:
"There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor".
From reading posts on this forum, this error indicates to me that the EXE is not being elevated (it requires elevation to run properly). Interestingly if I swap the EXE for another which does not require elevation, everything works OK.
Following are the settings for my custom action:
Launch file as administrator
Type: File attached to installation
Source path: c:\temp\Nero.exe
Command line: [empty]
This action is triggered by a button on the ExitDialog dialog, as it needs to be user-initiated.
Any suggestions?
Andrew