PDA

View Full Version : location of %AppFolder%


GregSS
02-10-2005, 10:53 AM
My install files are in a completely different location from where I want them to install.
I have a variable that is set according to a registry entry (rcim_loc = Registry.GetValue(HKEY_LOCAL_MACHINE, "Software\\NC Microproducts\\NC Polaris", "NCPLocation", true);) in the On Startup section.

Can I have %AppFolder% point to that location set by my variable in the Select Install Folder screen? When I set the Default Folder to my variable name (rcim_loc) what shows up at run time is "rcim_loc" and not the path that the registry key holds.

Thanks,
Greg

Brett
02-10-2005, 12:11 PM
Make sure you are doing this:

SessionVar.Set("%AppFolder%",rcim_loc);

not:

SessionVar.Set("%AppFolder%","rcim_loc");

GregSS
02-10-2005, 12:20 PM
That was it! I feel a little silly about it, but syntax is everything...

Thanks again,
Greg