Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Custom Action Failing

Status
Not open for further replies.

TonyToniTone

IS-IT--Management
Jun 2, 2003
2
0
0
GB
Hi,

I am using a custom action to run the unwise installer but it keeps failing,

I am using Execute from path

I have entered the following:
property: %comspec
command line: /c c:\program files\sybase\olbooks\unwise.exe /s c:\program
files\sybase\olbooks\install.log

(I am using normal execute immediate/deffered and running just before
install finalize)

I also tried running as a batch file and entered following:
property: %comspec
command line: uninstall.bat

uninstall.bat = c:\program files\sybase\olbooks\unwise.exe /s c:\program
files\sybase\olbooks\install.log
The CA shell's out but the batch file fails to run

If I change the batch file so uninstall.bat = echo c:\program
files\sybase\olbooks\unwise.exe /s c:\program
files\sybase\olbooks\install.log > c:\uninst.bat, the batch file runs fine,
if I then run c:\uninst.bat that the CA created the uninstall works fine??

I can't understand whats wrong as I always use similar CA's without
trouble...

Regards,
Tony

 
Did you tried to quote the files you want to run, because of the space between Program Files?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top