-
Need to Install Unix-like path as environment variable
I have an environment variable that is used by the Cygwin shell and thus
needs to have quasi-Unix path (e.g., C:/Bob instead of C:\Bob). In my IS
Prof 5.1, I created an InstallScript fucntion that would parse the TARGETDIR
and, convert it to the Unix version, then install it. Is there any thing in
the ISD7 GUI that will allow me to do something similar to INSTALLDIR, or
will I need to do it in InstallScript also?
Thanks
Matt Clark
-
Re: Need to Install Unix-like path as environment variable
There is nothing that I am aware of that would do this. The nice thing is
that your 5.1 script should work fine in Developer 7, just replace TARGETDIR
with INSTALLDIR.
Regards
David Thornley
"Matthew Clark" <matthew.c.clark@honeywell.com> wrote in message
news:3c0fafe7@news.installshield.com...
> I have an environment variable that is used by the Cygwin shell and thus
> needs to have quasi-Unix path (e.g., C:/Bob instead of C:\Bob). In my IS
> Prof 5.1, I created an InstallScript fucntion that would parse the
TARGETDIR
> and, convert it to the Unix version, then install it. Is there any thing
in
> the ISD7 GUI that will allow me to do something similar to INSTALLDIR, or
> will I need to do it in InstallScript also?
>
> Thanks
>
> Matt Clark
>
>
-
re:Need to Install Unix-like path as environment variable
Ok, thanks. I was hoping there was a GUI-based method so I don't have to
add the hassle of figuring out which Windows version I'm installing
on and if-then on whether I had to add it to an NT registry or a 9x
autoexec.bat (Unless ISD7 has a one-size fits all command I don't
know about ;-)
Matt
"David Thornley" <davidt@installshield.com> wrote in message
news:3c0fb091@news.installshield.com...
> There is nothing that I am aware of that would do this. The nice thing is
> that your 5.1 script should work fine in Developer 7, just replace
TARGETDIR
> with INSTALLDIR.
>
> Regards
> David Thornley
> "Matthew Clark" <matthew.c.clark@honeywell.com> wrote in message
> news:3c0fafe7@news.installshield.com...
> > I have an environment variable that is used by the Cygwin shell and thus
> > needs to have quasi-Unix path (e.g., C:/Bob instead of C:\Bob). In my
IS
> > Prof 5.1, I created an InstallScript fucntion that would parse the
> TARGETDIR
> > and, convert it to the Unix version, then install it. Is there any
thing
> in
> > the ISD7 GUI that will allow me to do something similar to INSTALLDIR,
or
> > will I need to do it in InstallScript also?
> >
> > Thanks
> >
> > Matt Clark
> >
> >
>
>
-
re:Need to Install Unix-like path as environment variable
There is an environment table in the direct editor that you could use. The
help library has topics that describe the environment table and how to use
it. You could configure it to use a property as the path value...and then
just use installscript to set that property value to your Unix like path.
That would probably be smoothest solution. For someone new though it is
sometimes hard to digest how properties work and how to interact with them
from installscript. I figured since you had the code already it would be
easiest to just use that...and there is nothing wrong with that :)
Regards
David Thornley
"Matthew Clark" <matthew.c.clark@honeywell.com> wrote in message
news:3c10d36f@news.installshield.com...
> Ok, thanks. I was hoping there was a GUI-based method so I don't have to
> add the hassle of figuring out which Windows version I'm installing
> on and if-then on whether I had to add it to an NT registry or a 9x
> autoexec.bat (Unless ISD7 has a one-size fits all command I don't
> know about ;-)
>
> Matt
>
> "David Thornley" <davidt@installshield.com> wrote in message
> news:3c0fb091@news.installshield.com...
> > There is nothing that I am aware of that would do this. The nice thing
is
> > that your 5.1 script should work fine in Developer 7, just replace
> TARGETDIR
> > with INSTALLDIR.
> >
> > Regards
> > David Thornley
>
> > "Matthew Clark" <matthew.c.clark@honeywell.com> wrote in message
> > news:3c0fafe7@news.installshield.com...
> > > I have an environment variable that is used by the Cygwin shell and
thus
> > > needs to have quasi-Unix path (e.g., C:/Bob instead of C:\Bob). In my
> IS
> > > Prof 5.1, I created an InstallScript fucntion that would parse the
> > TARGETDIR
> > > and, convert it to the Unix version, then install it. Is there any
> thing
> > in
> > > the ISD7 GUI that will allow me to do something similar to INSTALLDIR,
> or
> > > will I need to do it in InstallScript also?
> > >
> > > Thanks
> > >
> > > Matt Clark
> > >
> > >
> >
> >
>
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules