PDA

View Full Version : Define Variable



NewsArchive
02-18-2012, 02:26 AM
I need a variable similar to %_SB_INSTALLDIR% for the purpose of running a
program locally instead of
from the install directory, which maybe on a NAS box.
Maybe %LOCALPATH% which will be found in the registry of the computer doing
the install.
Where do I create the variable?


--
Dan Scott
C55 - C6.3 Legacy
Garage Partner Pro / Invoice Partner
www.garagepartner.com
Plan A is always more effective when the device you are working on
understands that Plan B involves a larger hammer

NewsArchive
02-18-2012, 02:27 AM
See image

Abe Jimenez

NewsArchive
02-18-2012, 02:27 AM
Got it, thanks Abe

--
Dan Scott
C55 - C6.3 Legacy
Garage Partner Pro / Invoice Partner
www.garagepartner.com
Plan A is always more effective when the device you are working on
understands that Plan B involves a larger hammer

NewsArchive
02-18-2012, 02:28 AM
Hi Dan,

> I need a variable similar to %_SB_INSTALLDIR% for the purpose of running
> a program locally instead of from the install directory, which maybe on
> a NAS box. Maybe %LOCALPATH% which will be found in the registry of the
> computer doing the install. Where do I create the variable?

You can do it in the "Runtime Variables" Visualizer or in the Script Editor.
It does not make a difference.

See attached screenshots. If you add it in the Runtime Variables
Visualizer, it declares and initializes the runtime variable in the [
Initialize Setup ] section.

Friedrich

NewsArchive
02-18-2012, 02:29 AM
Oops. What Abe said. I was too slow <g>

Friedrich

NewsArchive
02-18-2012, 02:29 AM
Getting Old Huh? <g>

--
Dan Scott
C55 - C6.3 Legacy
Garage Partner Pro / Invoice Partner
www.garagepartner.com
Plan A is always more effective when the device you are working on
understands that Plan B involves a larger hammer

NewsArchive
02-18-2012, 02:29 AM
>
> Getting Old Huh? <g>
>

Hehehehehe :)

Friedrich