Got a problem you cannot solve? Try here.
-
RyanUK
- Posts: 7
- Joined: Tue Feb 05, 2008 6:08 am
Post
by RyanUK »
Is it possible to write the value of a variable that you have gathered from the user interface and write it to the registry ?
I have only been able to get it to write a hard coded value so far.
-
CandiceJones
- Posts: 904
- Joined: Thu Dec 22, 2005 7:03 pm
-
Contact:
Post
by CandiceJones »
Of course. Just have it write a variable!
Candice Jones
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
-
RyanUK
- Posts: 7
- Joined: Tue Feb 05, 2008 6:08 am
Post
by RyanUK »
I have tried that - it writes the variable name rather than the variable data !
-
CandiceJones
- Posts: 904
- Joined: Thu Dec 22, 2005 7:03 pm
-
Contact:
Post
by CandiceJones »
Was the variable declared as one and properly dereferenced?
Candice Jones
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
-
RyanUK
- Posts: 7
- Joined: Tue Feb 05, 2008 6:08 am
Post
by RyanUK »
Variable was declared and during debug contained the correct data. As to dereferenced, I couldnt tell you !
-
RyanUK
- Posts: 7
- Joined: Tue Feb 05, 2008 6:08 am
Post
by RyanUK »
This is really frustrating. It should be pretty simple to do this !!
And the 'help' doesnt help at all !
-
CandiceJones
- Posts: 904
- Joined: Thu Dec 22, 2005 7:03 pm
-
Contact:
Post
by CandiceJones »
How are you dereferencing the variable? Are you saying $VARIABLE$ in the field or just VARIABLE?
Candice Jones
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
-
RyanUK
- Posts: 7
- Joined: Tue Feb 05, 2008 6:08 am
Post
by RyanUK »
Tried both ways !!
-
MichaelNesmith
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
-
Contact:
Post
by MichaelNesmith »
Could you paste some code from your script so we can understand what you're doing?
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/