Hi there,
I've got an executable that I've included in:
Windows Volume\Temporary Files\[ProductCode]
as a temporary file. It's called RemoveAffixa.exe.
I've then got a custom action that has the following command line:
"[&removeaffixa.exe]" /COPYLOCAL "[OriginalDatabase]"
This works fine for a normal installation (i.e. double click the MSI), but if I try and run it from msiexec with a /quiet parameter I get a crash as follows:
Product: Affixa -- Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action CopyLocal, location: C:\WINDOWS\Installer\MSI31.tmp, command: "" /COPYLOCAL "C:\affixa-setup.msi"
As you can see from the above, it doesn't look like the path to RemoveAffixa.exe was included in the command line - it's just got "" (quotes).
How can I ensure that the exe gets run in quiet or "normal" mode?
Many thanks,
Chris
FOLLOW US
Get the latest news in Application Packaging