As vistape can use different sourcetypes (WAIK downloaded from the web, Server2008 downloaded from the web and a local Vista DVD) I want to use a script that can download the needed files and then sets the source folder depending on the users selection.
(I know this is not the way WB normally does it, but i found it easier to have all possible options with explaination in a script, as the user is used to work with the script interfaces, rather than directing the user to the Source tab and ask him to select the right folder...)
This already works fine, but:
Winbuilder does not refresh the values from script.project ([Main] SourceDir="Z:\vista32de-sp1") during build, so i can not set a sourcedir depending on the user selection in a script that is executed during the build process.
When i found that, i thought about saving the user selection to the project file when setting it (with a save button), but WB also does not refresh the script.project values when starting the build.
They are only refreshed when i
- close and restart WB
- click refresh
- select another script (not sure if this always works)
Can someone come up with any idea how to make wb use the sourcedir that i set in the very first script?
Or at least how to make sure WB uses the correct setting from script.project when a new build is started?
Or could one of the developers add something like "System,refreshproject" to make something like this work?
Thanks for all ideas...