Hey James,

I wouldn't say there is "no way" to do that (you could hard code the D:\)
but it is recommend against.

Best to do what you mentioned below, allow the user to chose. In addition,
even if you were to hard code the path the user could always change it to
something else.

Thanks,

Brian Rogers
"Intelligence removes complexity." - Me
http://icumove.spaces.live.com


On Thu, Feb 12, 2009 at 12:40 PM, MacDiarmid, James D <
james.macdiar...@eds.com> wrote:

>
> Brian,
>
> Sorry. :)  That is just where I was "told" to have the setup install it.
> So what you're saying is that there is no way to have the installer
> default to "D:\" instead of "C:\Program Files\blah\blah\blah\"?  If
> that's the case then they could just change the path in the drive\folder
> pick list.
>
> Jim
>
>
> -----Original Message-----
> From: Brian Rogers [mailto:rogers.br...@gmail.com]
>  Sent: Thursday, February 12, 2009 1:52 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Unresolved reference to
> symbol'Directory:INSTALLDIR'
>
> Hey James,
>
> Now you are asking me to give you information that is not a best
> practice (hard coding to a drive) <grin/>. It would be best that you
> specify, using all CAPITAL LETTERS (this is a public property in Windows
> Installer) the two different root directories.
>
> <Directory Id="ROOT_DIR1" Name="ROOT_DIR1">
>   <Directory Id="SubDir1" Name="SubDir1" /> </Directory> <Directory
> Id="ROOT_DIR2" Name="ROOT_DIR2">
>   <Directory Id="SubDir2" Name="SubDir2" /> </Directory> Then, when
> executing the MSI via the command line use something like this:
>
> msiexec /i product.msi ROOT_DIR1=D:\SomeFolder1 ROOT_DIR2=D:\SomeFolder2
>
> Hope that helps,
>
> Brian Rogers
> "Intelligence removes complexity." - Me
> http://icumove.spaces.live.com
>
>
> On Thu, Feb 12, 2009 at 10:37 AM, MacDiarmid, James D <
> james.macdiar...@eds.com> wrote:
>
> >
> > Ok I see where there is a <DirectoryRef />. My install needs to create
>
> > 2 folder trees in the root of drive D:. Is this possible or do I have
> > to create two installs?  I don't need to put anything in the program
> > files folder.
> >
> > Jim
> >
> > -----Original Message-----
> > From: Brian Rogers [mailto:rogers.br...@gmail.com]
> >  Sent: Thursday, February 12, 2009 1:06 PM
> > To: General discussion for Windows Installer XML toolset.
> > Subject: Re: [WiX-users] Unresolved reference to
> > symbol'Directory:INSTALLDIR'
> >
> > Hey James,
> >
> > I have never used that product. I would recommend you "comb" your .wxs
>
> > files for "INSTALLDIR". It might be a <DirectoryRef /> and then it is
> > not being specified later as a <Directory/> or other such scenarios.
> >
> > Brian Rogers
> > "Intelligence removes complexity." - Me http://icumove.spaces.live.com
> >
> >
> > On Thu, Feb 12, 2009 at 9:55 AM, MacDiarmid, James D <
> > james.macdiar...@eds.com> wrote:
> >
> > >
> > > Hi Brian,
> > >
> > > I'm using the WixAware IDE. Is there a section of code you need to
> > see?
> > >
> > > Thanks,
> > > Jim
> > >
> > > -----Original Message-----
> > > From: Brian Rogers [mailto:rogers.br...@gmail.com]
> > > Sent: Thursday, February 12, 2009 12:39 PM
> > > To: General discussion for Windows Installer XML toolset.
> > > Subject: Re: [WiX-users] Unresolved reference to
> > > symbol'Directory:INSTALLDIR'
> > >
> > > James,
> > >
> > > It looks like some where in your wxs files you are referencing
> > > 'INSTALLDIR'
> > > but you are not setting a value for it. Are you using WixUI or your
> > own?
> > >
> > > More information will be needed to help address the question.
> > >
> > > Thanks,
> > >
> > > Brian Rogers
> > > "Intelligence removes complexity." - Me
> http://icumove.spaces.live.com
> > >
> > >
> > > On Thu, Feb 12, 2009 at 8:43 AM, MacDiarmid, James D <
> > > james.macdiar...@eds.com> wrote:
> > >
> > > >
> > > > I'm getting the following error in my install. Unfortunately I am
> > > > unable to find any reference to it when searching on Google. Any
> > idea
> > > > what would cause this and how would I go about fixing it?
> > > >
> > > > error LGHT0112 : Unresolved reference to symbol
> > 'Directory:INSTALLDIR'
> > > > in section 'Product:398668D3-B115-4F34-A0C3-88371B215200'.
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > Jim
> > > >
> > > >
> > > >
> > > >
> > > >
> > ----------------------------------------------------------------------
> > > > -------- _______________________________________________
> > > > WiX-users mailing list
> > > > WiX-users@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > > >
> > >
> >
> ------------------------------------------------------------------------
> > >  ------
> > > _______________________________________________
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> > >
> > >
> >
> ------------------------------------------------------------------------
> > ------
> > > _______________________________________________
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> >
> ------------------------------------------------------------------------
> > ------
> >  _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
> >
> ------------------------------------------------------------------------
> ------
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> ------------------------------------------------------------------------
> ------
>  _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to