SourceDir can be a bit troublesome on repair/uninstall. Be careful: http://robmensching.com/blog/posts/2010/1/26/StackOverflow-what-does-NameSourceDir-refer-to
On Mon, Aug 23, 2010 at 2:04 PM, Andy Glass <agl...@laserfiche.com> wrote: > http://msdn.microsoft.com/en-us/library/aa371857%28VS.85%29.aspx > > Hopefully that will tell you if it is what you want. > > -----Original Message----- > From: Dave DaveLists [mailto:dbfli...@gmail.com] > Sent: Monday, August 23, 2010 1:54 PM > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Question about the installer directory > > Hello all, > > I turned on logging for a test run and found the CURRENTDIRECTORY and > SourceDir properties. CURRENTDIRECTORY seemed promising but isn't what I > wanted when the current Windows directory was something else (like when I > ran the msi from the command line with a path from a different directory). > > SourceDir, though, is what I think I want, unless someone has warnings > about > what SourceDir is? My logs suggest it is exactly what I need but that was > just from one example run. > > Thanks, > > Dave > > On Mon, Aug 23, 2010 at 12:20 PM, Dave DaveLists <dbfli...@gmail.com> > wrote: > > > Hello, > > > > I've been searching around and have failed to find the answer to this > > question: > > > > During an install I need to know the directory in which the installer is > > running (not where the program is being installed to, the directory where > > the actual MSI is running from). Is this possible? I was hoping there > were > > standard properties like that just "laying around" during an install that > > could be queried. > > > > Thanks in advance, > > > > -Dave > > > > > > > > ------------------------------------------------------------------------------ > Sell apps to millions through the Intel(R) Atom(Tm) Developer Program > Be part of this innovative community and reach millions of netbook users > worldwide. Take advantage of special opportunities to increase revenue and > speed time-to-market. Join now, and jumpstart your future. > http://p.sf.net/sfu/intel-atom-d2d > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------------ > Sell apps to millions through the Intel(R) Atom(Tm) Developer Program > Be part of this innovative community and reach millions of netbook users > worldwide. Take advantage of special opportunities to increase revenue and > speed time-to-market. Join now, and jumpstart your future. > http://p.sf.net/sfu/intel-atom-d2d > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- virtually, Rob Mensching - http://RobMensching.com LLC ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users