Hi, Thanks a lot for your suggestions. Could you please let me know how to implement the first one (.reg files) as you suggested.
Thanks again. Regards, SivaKrishna Kalvagadda, 201-671-5552. -----Original Message----- From: Richard [mailto:[EMAIL PROTECTED] Sent: Monday, October 20, 2008 6:42 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Executing .bat,.reg,.msi files from WIX v3 In article <[EMAIL PROTECTED]>, "Kalvagadda, SivaKrishna \(MLX Technology\)" <[EMAIL PROTECTED]> writes: > I have requirement of executing the .reg, .msi, .bat as a part of > installation of WIX MSI. Could someone help how to execute these kind of > files from WIX v3 Let's take them one at a time: .reg: Don't use the .reg file; instead put the registry values in the .reg file into a component and install the component. .bat: Usually running a batch file at install time is a bad idea. It looks lame to see DOS boxes flash up during install time -- although many people do it, I always think "man, these guys must suck" every time I watch an installer do it. It creates a bad first impression. If you absolutely must do it, run cmd.exe /c <bat file>. Even better is to run it in a way that hides the window. .msi: Windows Installer packages are transaction based. You can't start a new transaction inside another transaction. So you can't execute an MSI from inside another MSI. If you have dependent products that your application requires, you should handle this in a bootstrapper that sequences the two transactions (dependent product, then your application) one after the other. -- "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download <http://www.xmission.com/~legalize/book/download/index.html> Legalize Adulthood! <http://blogs.xmission.com/legalize/> ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -------------------------------------------------------- This message w/attachments (message) may be privileged, confidential or proprietary, and if you are not an intended recipient, please notify the sender, do not use or share it and delete it. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Merrill Lynch. Subject to applicable law, Merrill Lynch may monitor, review and retain e-communications (EC) traveling through its networks/systems. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or error-free. This message is subject to terms available at the following link: http://www.ml.com/e-communications_terms/. By messaging with Merrill Lynch you consent to the foregoing. -------------------------------------------------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users