![]() |
#1 |
Junior Member
Join Date: Nov 2012
Posts: 3
|
Probleme recuperate var in custom pages
Hi
I want to recuperate some var in a custom pages but i can't realise it. code: i write an xml file but whitout any var. But if i write manually the state in the .ini file, the xml file output contain the variable. Where is my error? |
![]() |
![]() |
![]() |
#2 |
Major Dude
Join Date: Oct 2006
Posts: 1,892
|
(Please use pastebin or an attachment to share large amounts of code.)
First of all, verify that $R0-6 contains the proper value, using a MessageBox. If the variable is empty, it cannot be written to a file either. Second, your code example is rather unclear. Please provide a minimal script that shows your problem (without ${defines} that we don't know, etc...), and explain what it should do and what it actually does. |
![]() |
![]() |
![]() |
#3 |
Junior Member
Join Date: Nov 2012
Posts: 3
|
thank's for your response.
When i use a sgBox, i don't have any value of my var. i will modify my code as you like |
![]() |
![]() |
![]() |
#4 |
Major Dude
Join Date: Oct 2006
Posts: 1,892
|
If the Msgbox is empty, it means either the state is not set, or the ini file is not being read properly. Since manually editing the ini works, we must conclude that the state is not set.
Not sure how that's happening, it's been years since I've touched InstallOptions. Perhaps someone else can help you, but that's where the problem appears to begin, at least. |
![]() |
![]() |
![]() |
#5 |
Junior Member
Join Date: Nov 2012
Posts: 3
|
effectively the state is not set. If i set it manuelly by editing the ini file no problem. if not nothing is read.
|
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|