Ok, thanks. I'll take a look at that.

On Fri, Oct 26, 2012 at 12:19 AM, Hoover, Jacob
<jacob.hoo...@greenheck.com>wrote:

> The problem then becomes what is the expected result when your install is
> deployed via SCCM or similar tools, or simply invoke via a silent install.
>  In that case, your CA will never run. The second option I provided would
> allow for you to initialize a default location yet still allow a silent
> install to provide an override to INSTALLLOCATION if you use
> http://robmensching.com/blog/posts/2010/5/2/The-WiX-toolsets-Remember-Property-pattern
> .
>
>
> -----Original Message-----
> From: Gavin Bray [mailto:gavb...@gmail.com]
> Sent: Thursday, October 25, 2012 3:02 AM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Installing outside ProgramFilesFolder
>
> The Sequence="ui" did the trick. Thanks very much for your assistance.
>
> On Thu, Oct 25, 2012 at 8:02 AM, Hoover, Jacob
> <jacob.hoo...@greenheck.com>wrote:
>
> > Try adding Sequence="ui" to your SetProperty element. I can't remember
> > if AppSearch is executed twice.  The next question would be how would
> > you allow a user to override this when installing with no UI, which I
> > would suggest using the "remember me property pattern" Rob had blogged
> > about a while back.
> >
> >
> > Another option from a quick search shows:
> > http://kentie.net/article/wixtipstricks/
> >
> > TARGETDIR and the system partition
> >
> > When trying to install to a subdirectory of the system drive root (e.g.
> > 'C:\application'), it might sense to assume that in something like
> >
> >
> > <Directory Id="TARGETDIR" Name="SourceDir">
> >   <Directory Id="INSTALLLOCATION" Name="SetupProject1">
> >   </Directory>
> > </Directory>
> > TARGETDIR refers to the system partition, as ProgramFilesFolder is
> > always given as a child of TARGETDIR. This is not the case; TARGETDIR
> > is the partition with the most free disk space. It can even be a
> > partition on an external hard drive. To set it to the true system
> > partition, use the below
> > approach:
> >
> >
> > <Directory Id="TARGETDIR" Name="SourceDir">
> >   <Directory Id="WINDOWSVOLUME" >
> >     <Directory Id="INSTALLLOCATION" Name="SetupProject1">
> >     </Directory>
> >   </Directory>
> > </Directory>
> >
> > <SetDirectory Id="WINDOWSVOLUME" Value="[WindowsVolume]"/>
> >
> > -----Original Message-----
> > From: Gavin Bray [mailto:gavb...@gmail.com]
> > Sent: Wednesday, October 24, 2012 4:42 PM
> > To: General discussion for Windows Installer XML toolset.
> > Subject: Re: [WiX-users] Installing outside ProgramFilesFolder
> >
> > If I use the following then the value specified by the user does get
> used.
> >
> > <Property Id="WIXUI_INSTALLDIR" Value="INSTALLFOLDER" />
> >
> > <Directory Id="TARGETDIR" Name="SourceDir">
> >   <Directory Id="ProgramFilesFolder">
> >     <Directory Id="INSTALLFOLDER" Name="MyApp">
> >
> > So, I assume it somehow is related to using
> >
> > <SetProperty Id="INSTALLFOLDER"  Value="[WindowsVolume]\MyApp"
> > Before="AppSearch"/>
> >
> > but I'm not sure how.
> >
> > Any suggestions are most welcome.
> >
> > Regards
> > Gavin
> > On Thu, Oct 25, 2012 at 5:20 AM, Phil Wilson <phil.wil...@mvps.org>
> wrote:
> >
> > > It's hard to be specific, but it looks like the dialog you're using
> > > with its BrowseFolder result is not propagating the user input to
> > > TARGETDIR or INSTALLFOLDER.
> > >
> > > Phil W
> > >
> > > -----Original Message-----
> > > From: Gavin Bray [mailto:gavb...@gmail.com]
> > > Sent: Tuesday, October 23, 2012 11:29 PM
> > > To: wix-users@lists.sourceforge.net
> > > Subject: [WiX-users] Installing outside ProgramFilesFolder
> > >
> > > Hi
> > >
> > > I have a requirement to use C:\MyApp as the default installation
> > > directory rather than being user Program Files (x86).
> > >
> > > I also give the user the opportunity to specify a different directory.
> > >
> > > I'm using:
> > >
> > > <Property Id="WIXUI_INSTALLDIR" Value="INSTALLFOLDER" />
> > >
> > > <SetProperty Id="INSTALLFOLDER"  Value="[WindowsVolume]\MyApp"
> > > Before="AppSearch"/>
> > >
> > > <Directory Id="TARGETDIR" Name="SourceDir">
> > >   <Directory Id="ProgramFilesFolder">
> > >     <Directory Id="INSTALLFOLDER" Name="MyApp"> At install time, the
> > > correct default directory of C:\MyApp is displayed (assuming the
> > > Windows volume is C:).
> > >
> > > However, if I specify a different directory (eg C:\MyApp2) during
> > > the setup then the default C:\MyApp is still used.
> > >
> > > How do I get this to work so that it defaults to C:\MyApp but the
> > > user supplied directory, if specified, is used?
> > >
> > > Thanks
> > > Gavin
> > >
> > > --------------------------------------------------------------------
> > > --
> > > ------
> > > --
> > > Everyone hates slow websites. So do we.
> > > Make your web apps faster with AppDynamics Download AppDynamics Lite
> > > for free today:
> > > http://p.sf.net/sfu/appdyn_sfd2d_oct
> > > _______________________________________________
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> > >
> > >
> > >
> > > --------------------------------------------------------------------
> > > --
> > > -------- Everyone hates slow websites. So do we.
> > > Make your web apps faster with AppDynamics Download AppDynamics Lite
> > > for free today:
> > > http://p.sf.net/sfu/appdyn_sfd2d_oct
> > > _______________________________________________
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> >
> > ----------------------------------------------------------------------
> > -------- Everyone hates slow websites. So do we.
> > Make your web apps faster with AppDynamics Download AppDynamics Lite
> > for free today:
> > http://p.sf.net/sfu/appdyn_sfd2d_oct
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
> > ----------------------------------------------------------------------
> > -------- Everyone hates slow websites. So do we.
> > Make your web apps faster with AppDynamics Download AppDynamics Lite
> > for free today:
> > http://p.sf.net/sfu/appdyn_sfd2d_oct
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics Download AppDynamics Lite for
> free today:
> http://p.sf.net/sfu/appdyn_sfd2d_oct
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_sfd2d_oct
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to