NOT Installed, not NOTInstalled. There should be a space there (they are two different words).
-----Original Message----- From: Prabhakaran Paulraj [mailto:prabhakaran_paul...@dynamicbi.com] Sent: Tuesday, August 25, 2009 3:59 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] How to stop running an MSI directly instead Hi Blair, Thanks for the reply. I made use of the tip which you gave it works fine partially (i.e) 1) When i run the Install.msi it works as expected (I get the conditional message which i provided) and the installation stops. 2) When i run the Setup.exe it works as expected (Installation was Successfull). Now the problem is when i uninstall i am being prompted with the same conditional message ('Please run the Setup.exe First') which makes me unable to uninstall my product. Below is the conditional message which i used in my code. <Condition Message="Please run the Setup.exe First">NOTInstalled or MYINSTALLKEY</Condition> Please let me know how this condition can be skipped while uninstallation. Thanks Prabhakaran Message-ID: <bay122-ds24bee891a50b0c34adcbecd...@phx.gbl> Content-Type: text/plain; charset="iso-8859-1" Assuming your bootstrapper Setup.exe can pass arbitrary properties to MSI you would create a <Condition Message="Please run the Setup.exe First">NOT Installed OR MYINSTALLKEY</Condition> under your Product element and you pass MYINSTALLKEY=1 from your bootstrapper. If your bootstrapper can't pass arbitrary properties, you need to use a different bootstrapper. What bootstrapper are you using? -----Original Message----- From: Prabhakaran Paulraj [mailto:prabhakaran_paul...@dynamicbi.com] Sent: Monday, August 24, 2009 4:13 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to stop running an MSI directly instead from Setup Hi, ??? I am using wix 2.0 and i am new to this. I am having a MSI Install.msi and a bootstrapper for the Install.msi as Setup.exe. I need to run the MSI only from the bootstrapper Setup.exe. If the user runs the Install.msi directly i should provide a message like 'Please run the Setup.exe First' and stop the installation. Is this possible? Any suggestions. Thanks Prabhakaran ---------------------------------------------------------------------------- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users