Re: using Context.Parameters["INSTALLDIR"],
From: Nico Debeuckelaere (nicoNO_at_SPAMnd-sign.com)
Date: 03/05/04
- Next message: Senthil: "Re: using Context.Parameters["INSTALLDIR"],"
- Previous message: Brynk: "Re: MS .NET Framework SP 2 Keeps reinstalling"
- In reply to: David Guyer [MS]: "Re: using Context.Parameters["INSTALLDIR"],"
- Next in thread: Senthil: "Re: using Context.Parameters["INSTALLDIR"],"
- Reply: Senthil: "Re: using Context.Parameters["INSTALLDIR"],"
- Reply: David Guyer [MS]: "Re: using Context.Parameters["INSTALLDIR"],"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 5 Mar 2004 08:36:18 +0100
To be curious ... what is that last backslash good for?
"David Guyer [MS]" <davguy@online.microsoft.com> wrote in message
news:U8dGYpiAEHA.604@cpmsftngxa06.phx.gbl...
> /TARGETDIR="[TARGETDIR]\" The back slash is very important in this case!
> :-)
>
>
> ---
> David Guyer - VBQA Deployment Testing
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> --------------------
> >From: "Nico Debeuckelaere" <nicoNO@SPAMnd-sign.com>
> >Subject: Re: using Context.Parameters["INSTALLDIR"],
> >
> >Senthil,
> >
> >As I just mentioned ... use TARGETDIR:
> >/TARGETDIR="[TARGETDIR]"
> >
> >Context.Parameters.Item("TARGETDIR")
> >
> >Regards,
> >
> >--
> >
> >Nico Debeuckelaere (MVP VB.NET)
> >
> >ND-Sign BVBA (Microsoft Certified Partner since 2004)
> >Pierstraat 135
> >B-2840 Rumst
> >URL: http://www.nd-sign.com
> >== ND-Sign, Designed for you ==
> >(This posting is provided "AS IS", with no warranties, and confers no
> >rights.)
> >
> >"Senthil" <senthilv@5by5networks.com> wrote in message
> >news:OMqHcifAEHA.1964@TK2MSFTNGP11.phx.gbl...
> >> hey nico , i javbe to deliver this stuff soon man, and i am struch up
> >> tooo...
> >> can yu let me asap???
> >> my email id is :
> >> senthilv@5by5networks.com
> >>
> >> oka....
> >>
> >> "Nico Debeuckelaere" <nicoNO@SPAMnd-sign.com> wrote in message
> >> news:#$C4rbfAEHA.2348@TK2MSFTNGP09.phx.gbl...
> >> > Hi Senthil,
> >> >
> >> > I have nothing to check now but can you try for the variable
TARGETDIR
> >or
> >> > something?
> >> >
> >> > Regards,
> >> >
> >> > --
> >> >
> >> > Nico Debeuckelaere (MVP VB.NET)
> >> >
> >> > ND-Sign BVBA (Microsoft Certified Partner since 2004)
> >> > Pierstraat 135
> >> > B-2840 Rumst
> >> > URL: http://www.nd-sign.com
> >> > == ND-Sign, Designed for you ==
> >> > (This posting is provided "AS IS", with no warranties, and confers no
> >> > rights.)
> >> >
> >> >
> >> > "Senthil" <senthilv@5by5networks.com> wrote in message
> >> > news:eZ5ZFjeAEHA.3316@TK2MSFTNGP11.phx.gbl...
> >> > > hi nico
> >> > > very much thanks for yur response..
> >> > >
> >> > > i did teh way yu said...
> >> > > for my surprise i happen to see that
> >> > > 1. as i am running my setup i am selecting a path where i need to
> >> install.
> >> > > but the path1 i saw as:D:\WINDOWS\system32
> >> > > why is the installer takkng this path as the path of INSTALLDIR??
> >> > > why not its taking my path which i giving in the installer ???
> >> > > help needed
> >> > > ,,,,,
> >> > > Senthil
> >> > >
> >> > > "Nico Debeuckelaere" <nicoNO@SPAMnd-sign.com> wrote in message
> >> > > news:#Ug4UBeAEHA.3048@tk2msftngp13.phx.gbl...
> >> > > > In your Setup project, press the Custom Actions button.
> >> > > > Here you will find all your actions to be perform during
> >installation,
> >> > > > uninstallation etc.
> >> > > > If you select the action to install your application and look at
> the
> >> > > > properties of it you can see the following property:
> >> > > > CustomActionData
> >> > > > Here you type:/INSTALLDIR="[INSTALLDIR]"
> >> > > > In your installer class you can get the parameter:
> >> > > > Context.Parameters.Item("INSTALLDIR")
> >> > > >
> >> > > > Regards,
> >> > > >
> >> > > > --
> >> > > >
> >> > > > Nico Debeuckelaere (MVP VB.NET)
> >> > > >
> >> > > > ND-Sign BVBA (Microsoft Certified Partner since 2004)
> >> > > > Pierstraat 135
> >> > > > B-2840 Rumst
> >> > > > URL: http://www.nd-sign.com
> >> > > > == ND-Sign, Designed for you ==
> >> > > >
> >> > > > "Senthil" <senthilv@5by5networks.com> wrote in message
> >> > > > news:#tGUXvcAEHA.2112@TK2MSFTNGP11.phx.gbl...
> >> > > > > hi all
> >> > > > >
> >> > > > > i am creating an installer project to install my application.
> >> > > > >
> >> > > > > my application has got a few data which r needed to be edited
at
> >run
> >> > > time
> >> > > > > ...getting the user input and editing the config file.
> >> > > > >
> >> > > > > so i am using
> >> > > > >
> >> > > > > Path.Combine(this.Context.Parameters["INSTALLDIR"],
> >> > > "xmledit.exe.config");
> >> > > > >
> >> > > > > for getting the path where the installer installs my
application
> >is
> >> > > > > installed..
> >> > > > >
> >> > > > > i am getting error like VAlue cannot be null :path1
> >> > > > >
> >> > > > > Help needed in solving this
> >> > > > >
> >> > > > > ,,,
> >> > > > >
> >> > > > > Senthil
> >> > > > >
> >> > > > >
> >> > > >
> >> > > >
> >> > >
> >> > >
> >> >
> >> >
> >>
> >>
> >
> >
> >
>
- Next message: Senthil: "Re: using Context.Parameters["INSTALLDIR"],"
- Previous message: Brynk: "Re: MS .NET Framework SP 2 Keeps reinstalling"
- In reply to: David Guyer [MS]: "Re: using Context.Parameters["INSTALLDIR"],"
- Next in thread: Senthil: "Re: using Context.Parameters["INSTALLDIR"],"
- Reply: Senthil: "Re: using Context.Parameters["INSTALLDIR"],"
- Reply: David Guyer [MS]: "Re: using Context.Parameters["INSTALLDIR"],"
- Messages sorted by: [ date ] [ thread ]