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

Reply via email to