|
#1
|
|||
|
|||
|
Variables In Registry Actions
Hello,
It seems that variables arnt being converted :( Code:
Registry.SetValue(HKEY_LOCAL_MACHINE, "Software\\MyProduct\\SystemSettings", "InstallVersion", "%ProductVer%", REG_SZ); Thanks, Warren |
|
#2
|
||||
|
||||
|
Session variables need to be expanded when used in actions, like so:
Code:
Registry.SetValue(HKEY_LOCAL_MACHINE, "Software\\MyProduct\\SystemSettings", "InstallVersion", SessionVar.Expand("%ProductVer%"), REG_SZ);
__________________
--[[ Indigo Rose Software Developer ]] |
|
#3
|
|||
|
|||
|
HeHe Cool...
Still tryna get to grips wit this new SF7 coding style... ![]() Cheers |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Variables in actions!! | kpsmith | AutoPlay Media Studio 5.0 | 1 | 12-09-2003 04:04 PM |
| INFO: Setting Environment Variables | Support | Setup Factory 6.0 Knowledge Base | 0 | 10-10-2002 01:07 PM |
| Variables and registry | gena | Setup Factory 6.0 | 0 | 12-10-2001 04:25 AM |
| Registry Variables Problem | shenjengjie | Setup Factory 5.0 | 2 | 10-31-2001 08:01 AM |
| Problem with Registry Variables | marcus | Setup Factory 5.0 | 3 | 10-25-2000 09:52 AM |
All times are GMT -6. The time now is 11:13 PM.









Linear Mode

