|
#1
|
|||
|
|||
|
Session variables
Can somebody please tell me how to get the value of a session variable like %AppFolder%? I think the value of this is at the root of a problem of mine but I can't figure out what it thinks that value is.
|
|
#2
|
||||
|
||||
|
To get the value of a session variable in a script, use the SessionVar.Expand action.
Code:
Dialog.Message("%AppFolder% contains:", SessionVar.Expand("%AppFolder%"));
__________________
--[[ Indigo Rose Software Developer ]] |
|
#3
|
|||
|
|||
|
%AppFolder%
Ok. I tried that and it told me that %AppFolder% contains
%AppFolder% I guess maybe I don't understand how that session variable gets set. I thought I read that if I used the project wizard it would set it fo rme but Idon't ever really see where it would do that. What should be filled into this value? I thought that it needed to be the destination folder where the key files are installed on the client system. Thanks, Kenny |
|
#4
|
||||
|
||||
|
The action needs to go after the part of your script that locates the installed version. A value is assigned to %AppFolder% in that part of the script if a known version is identified.
If you check the value of %AppFolder% at the start of your script, it will be empty.
__________________
--[[ Indigo Rose Software Developer ]] |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Creating Session Variables | gott | Setup Factory 7.0 Discussion | 8 | 09-11-2007 11:07 AM |
| Registry.GetValue problem with session variables | Harris | Setup Factory 7.0 Discussion | 1 | 06-12-2007 02:21 PM |
| session variables | ultraz57 | Setup Factory 7.0 Discussion | 3 | 06-08-2007 11:54 AM |
| Session Variables | AlanNicoll | Setup Factory 7.0 Discussion | 1 | 01-11-2007 01:31 PM |
| session variables in action strings | tkilshaw | Setup Factory 7.0 Discussion | 3 | 04-21-2005 01:58 PM |
All times are GMT -6. The time now is 04:43 AM.






Linear Mode

