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
Sent: Tuesday, August 01, 2006 6:55 PM
To: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] custom action to write a reg value

 

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]
Sent: Tuesday, August 01, 2006 3:50 PM
To: Don Tasanasanta; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] custom action to write a reg value

 

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]
Sent: Tuesday, August 01, 2006 3:46 PM
To: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] custom action to write a reg value

 

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]
Sent: Tuesday, August 01, 2006 3:29 PM
To: Don Tasanasanta; [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] custom action to write a reg value

 

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]
Sent: Tuesday, August 01, 2006 3:26 PM
To: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] custom action to write a reg value

 

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]
Sent: Tuesday, August 01, 2006 3:09 PM
To: Don Tasanasanta; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] custom action to write a reg value

 

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
Sent: Tuesday, August 01, 2006 2:57 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] custom action to write a reg value

 

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

Reply via email to