How does your bootstrapper interact with MSI engine? If your bootstrapper calls MsiInstallProduct, it returns ERROR_SUCCESS
on success or other error codes on error. This function is synchronous and does return when the
installation is complete. If your bootstrapper is launching a process “msiexec.exe /i
product.msi”, check the return code of the process “msiexec.exe” for completion
and errors. http://blogs.msdn.com/windows_installer_team/archive/2005/09/26/Ken_Wong.aspx In both ways, you can see if the installation is completed with
no errors or without errors. Regards, Chesong Lee From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Don
Tasanasanta Sorry I didn’t explain more… Yes, there will be a bootstrapper running the install and
monitoring the registry to see if the install completed successfully. Failed,
or if a reboot was necessary. Then the bootstrapper will act accordingly. The install will be running silently so no UI sequence will be
involved. ______________________ Don Tasanasanta VIACK Corporation 425-605-7423 From: Derek Cicerone
[mailto:[EMAIL PROTECTED] Could you explain your scenario a bit more? Why would it be
important to know when an install has completed? Is this for a
bootstraper? Will there be some other program continuously pinging to
find out when the install is complete? Thanks, Derek From: Don Tasanasanta
[mailto:[EMAIL PROTECTED] Yes, that is exactly what I’m trying to do… is there another way to
go about this? ______________________ Don Tasanasanta VIACK Corporation 425-605-7423 From: Derek Cicerone
[mailto:[EMAIL PROTECTED] Why? Windows Installer only writes a value if it’s successful
(otherwise it rolls back). Are you trying to determine if an install is
successful or when it’s successful? Derek From: Don Tasanasanta
[mailto:[EMAIL PROTECTED] I would like to write the reg value after “installfinalize” when
I’m sure that the install has been successful. ______________________ Don Tasanasanta VIACK Corporation 425-605-7423 From: Derek Cicerone
[mailto:[EMAIL PROTECTED] Just write the registry key as part of the normal installation –
why would that require a custom action? Derek From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Don
Tasanasanta I’m
looking to create a reg value to indicate that the install was successful. And
ideas? ______________________ Don Tasanasanta VIACK Corporation 425-605-7423 |
------------------------------------------------------------------------- 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