Most likely you need MsiProvideComponent() with the component id,
feature name and product code, and use INSTALLMODE_DEFAULT.  I think
this is basically the API used when a shortcut is invoked, the Darwin
descriptor containing those three pieces of information. That will
install it, if required, so call it before the CreateProcess()
---------------
Phil Wilson


On Wed, Jan 14, 2015 at 2:21 PM, Phill Hogland <phogl...@rimage.com> wrote:
> I have amsi which installs a single app with an advertised shortcut in the
> Start menu.  After the MSI is installed, until the user clicks on the
> advertised shortcut, the exe is not yet installed yet.  I have a c++/Win32
> developer who plans to add code to his app to launch this exe as a child
> process of his app.   I assume that if he uses win32::CreateProcess with a
> path to the application folder which does not exist yet, it will fail.
>
> 1) Should I have done something different in my MSI package, to prepare for
> this situation?
> 2) Which MSI API functions should he use to get the app to launch when the
> MSI package is installed, but the advertised app has not yet been installed?
>
> Thanks for any advice.  Phill
>
>
>
>
> --
> View this message in context: 
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/App1-to-launch-an-App2-with-advertised-shortcut-not-installed-yet-tp7598858.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
> GigeNET is offering a free month of service with a new server in Ashburn.
> Choose from 2 high performing configs, both with 100TB of bandwidth.
> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
> http://p.sf.net/sfu/gigenet
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to