[wix-users] To get the location of the msi which is getting executed ?

Phil Wilson phil.wilson at mvps.org
Fri Nov 20 10:26:37 PST 2015


Neither SOURCEDIR nor CURRENTDIRECTORY are documented installer properties.
The case-sensitive documented property name is SourceDir. 

https://msdn.microsoft.com/en-us/library/aa371857(v=vs.85).aspx

Phil  

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of
MANO MANO
Sent: Thursday, November 19, 2015 8:08 PM
To: WiX Toolset Users Mailing List
Subject: Re: [wix-users] To get the location of the msi which is getting
executed ?

ok thankyou so much.

On Fri, Nov 20, 2015 at 12:25 AM, Farrukh Waheed <farrukh1 at gmail.com> wrote:

> Also try logging the msi installation and you'll get number of 
> properties in that log. In addition to CURRENTDIRECTORY, I also found 
> SOURCEDIR. Both pointing to same location.
>
>
>
> On 19 November 2015 at 23:53, Farrukh Waheed <farrukh1 at gmail.com> wrote:
>
> > I got this from an msi log. Try to use property CURRENTDIRECTORY. It 
> > should expand to the location of msi file. Not sure if that was not 
> > built with Wix.
> >
> > On 19 November 2015 at 23:42, MANO MANO <mano.n.s75 at gmail.com> wrote:
> >
> >> Hi,
> >> I have a exe that needs to be launched while doing msi 
> >> installation, so this exe will be placed in the same folder as the 
> >> msi, I am thinking to write a CA to get the path from where the msi 
> >> is launched and use it to check for this exe. So the question is 
> >> will i be able to get the
> location
> >> of the msi which is getting executed ?
> >>
> >> --
> >> *regards,*
> >> *Mano*
> >>
> >> ___________________________________________________________________
> >> _ WiX Toolset Users Mailing List provided by FireGiant 
> >> http://www.firegiant.com/
> >>
> >
> >
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant 
> http://www.firegiant.com/
>



--
*regards,*
*Mano*

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant
http://www.firegiant.com/





More information about the wix-users mailing list