I'm a casual WiX user, so please forgive me if this is really
trivial.  I did try searching the documentation and the mailing list
for help, but couldn't find any:

I'm shipping a batch file with my .msi that I need to run with the
/v:off flag to cmd.exe.  This is what I have:

    <CustomAction Id="build_usual_image"
                  Property="INSTALLDIR"
                  ExeCommand='[SystemFolder]cmd.exe /v:off /c 
build\build-usual-image.bat "[INSTALLDIR]" "[INSTALLDIR]scheme" 
"[INSTALLDIR]scheme48.image" "[INSTALLDIR]scheme48vm.exe" 
"[INSTALLDIR]build\initial.image"'
                  Return="check" />

The idea is to have the pwd be INSTALLDIR and then run cmd.exe as in
the command line.

However, all I ever get is this:

MSI (s) (8C:38) [19:01:40:302]: Note: 1: 1721 2: build_usual_image 3: 
c:\Programme\Scheme 48\Scheme 48 1.4T\ 4: C:\WINDOWS\system32\cmd.exe /v:off /c 
build\build-usual-image.bat "c:\Programme\Scheme 48\Scheme 48 1.4T\" 
"c:\Programme\Scheme 48\Scheme 48 1.4T\scheme" "c:\Programme\Scheme 48\Scheme 
48 1.4T\scheme48.image" "c:\Programme\Scheme 48\Scheme 48 1.4T\scheme48vm.exe" 
"c:\Programme\Scheme 48\Scheme 48 1.4T\build\initial.image" 
Error 1721. 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. Action: build_usual_image, location: 
c:\Programme\Scheme 48\Scheme 48 1.4T\, command: C:\WINDOWS\system32\cmd.exe 
/v:off /c build\build-usual-image.bat "c:\Programme\Scheme 48\Scheme 48 1.4T\" 
"c:\Programme\Scheme 48\Scheme 48 1.4T\scheme" "c:\Programme\Scheme 48\Scheme 
48 1.4T\scheme48.image" "c:\Programme\Scheme 48\Scheme 48 1.4T\scheme48vm.exe" 
"c:\Programme\Scheme 48\Scheme 48 1.4T\build\initial.image" 
MSI (s) (8C:38) [19:01:42:205]: Product: Scheme 48 1.4T -- Error 1721. 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. Action: build_usual_image, location: c:\Programme\Scheme 48\Scheme 48 
1.4T\, command: C:\WINDOWS\system32\cmd.exe /v:off /c 
build\build-usual-image.bat "c:\Programme\Scheme 48\Scheme 48 1.4T\" 
"c:\Programme\Scheme 48\Scheme 48 1.4T\scheme" "c:\Programme\Scheme 48\Scheme 
48 1.4T\scheme48.image" "c:\Programme\Scheme 48\Scheme 48 1.4T\scheme48vm.exe" 
"c:\Programme\Scheme 48\Scheme 48 1.4T\build\initial.image" 

Any help would be much appreciated.

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to