From: DEAK J. G. <dj...@tr...> - 2005-05-12 19:13:08
|
Hello, there is something wrong with my sample #14, the one trying to launch the default browser with an URL at the end of the installation. It did work for me when I wrote it but it doesn't co-operate now, neither for me nor for Jake Ashcraft. The relevant parts are: <Property Id="BROWSER"> <RegistrySearch Id='DefaultBrowser' Type='registry' Root='HKCR' Key='http\shell\open\command' /> </Property> <CustomAction Id='LaunchBrowser' Property='BROWSER' ExeCommand='www.something.com' Return='asyncNoWait' /> BROWSER will receive the path of the browser all right (with quotes around the path; this might be important because guess quotes and long names could contribute to the problem). However, the browser will not start, the log records an error instead: Action ended 20:53:30: LaunchBrowser. Return value 1631. Although I couldn't find any reference about these error codes, those of MsiExec itself (http://msdn.microsoft.com/library/en-us/msi/setup/error_codes.asp) are probably related to some extent and 1631 means something that couldn't be started, either. So, I speculate, this simply means that the installer couldn't start the process but why? Regards, Gabor DEAK JAHN ------------------------------------------------------------------- DEAK JAHN, Gabor -- Budapest, Hungary. WWW: www.tramontana.co.hu E-mail: dj...@tr... |