Dear All, I am trying to use a CustomAction in my installer.
The CustomAction looks like this: <CustomAction Id="SetPort" FileKey='Subtext.exe' ExeCommand='file="[INSTALLDIR]Ports.cfg"' Return="check"/> The CustomAction is called in the InstallExecuteSequence as: <Custom Action="SetPort" After="InstallFinalize">1</Custom> When running the installer, the product is installed. However at the end of the installation process I do get an error message: There is a problem with this Windows Installer package...... (Error 1722) Judging the msi log the install fails on my CustomAction. The product is installed in the directory 'C:\Program Files\Charm\Product' I do have the impression that running the CustomAction fails because the command: C:\Program Files\Charm\Product\Subtext.exe "C:\Program Files\Charm\Product\Ports.cfg" contais a space in the path. That is it cannot run C:\Program Files\Charm\Product\Subtext.exe because of the space between 'Program' and 'Files' in C:\Program Files\. Is there a way to circumvent this? Thanks in advance. Harm-Jan Zwinderman -- Charm B.V. Kruislaan 406 1098 SM Amsterdam T +31 (0)20-751 2190 [EMAIL PROTECTED] ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users