PDA

View Full Version : Short Cut



NewsArchive
12-08-2009, 01:49 AM
Hi All,

Is it possible to let the user select the working (start in) directory
during the install process? I have a seperate install for workstations now
and It
would ne nice to be able to display a directory selector for the user to
select the folder on the server.

--
Ron Childs
C6.3 9059 ABC

"The democracy will cease to exist when you take away from those
who are willing to work and give to those who would not."

Thomas Jefferson

NewsArchive
12-08-2009, 01:50 AM
Hi Ron,

> Is it possible to let the user select the working (start in) directory
> during the install process? I have a seperate install for workstations
> now and It would ne nice to be able to display a directory selector for
> the user to select the folder on the server.

Yes, absolutely no problem. Display a "Select Install Folder" (or create a
custom wizard) dialog and allow the user to select the "Working Directory".
Store this in a custom variable and use the same variable in your Shortcut.

Friedrich

NewsArchive
12-08-2009, 01:50 AM
Thanks Friederich.

--
Ron Childs
C6.3 9059 ABC

"The democracy will cease to exist when you take away from those
who are willing to work and give to those who would not."

Thomas Jefferson

NewsArchive
12-08-2009, 01:50 AM
Dumb question - Where do I add a custom variable? I added a new
environmental variable but I get a compile error saying some about invalid
or does not exist for #DLG_SERVER_FOLDER#, the variable
I added and use in the shortcut.

--
Ron Childs
C6.3 9059 ABC

"The democracy will cease to exist when you take away from those
who are willing to work and give to those who would not."

Thomas Jefferson

NewsArchive
12-08-2009, 01:51 AM
Ron

You want a Runtime variable so it should be
%DLG_SERVER_FOLDER%

Select the "Set Variable.." from the GeneralInstallerFunctions list and place it
early in your script.

HTH

John Griffiths

NewsArchive
12-08-2009, 01:52 AM
Hi Ron,

> Dumb question - Where do I add a custom variable? I added a new
> environmental variable but I get a compile error saying some about invalid
> or does not exist for #DLG_SERVER_FOLDER#, the variable
> I added and use in the shortcut.

What John said. And of course, you can declare runtime variables in the
Runtime Variables Visualizer (see attached screenshot).

Friedrich

NewsArchive
12-11-2009, 03:01 AM
Hi John,

Thanks for the response. Just what I needed.

--
Ron Childs
C6.3 9059 ABC

"The democracy will cease to exist when you take away from those
who are willing to work and give to those who would not."

Thomas Jefferson

NewsArchive
12-11-2009, 03:02 AM
Which, by the way, is a way cool feature! Thanks, Friedrich!

- Flint

NewsArchive
12-11-2009, 03:02 AM
Friederich,

Thanks! I looked but I did not see. Not sure why I picked enviroment
variables but I am straight now.

--
Ron Childs
C6.3 9059 ABC

"The democracy will cease to exist when you take away from those
who are willing to work and give to those who would not."

Thomas Jefferson