zorg117
8th August 2008, 22:12
Hi All,
I am fairly new to NSIS and am trying to figure out a way to run a VBScript on the target system and obtain certain information from it before modifying the target system in any way (including extracting the files). This is the business requirement. I need to make sure that I gather all the input from the user and then verify that it is valid (using the VBScript that is to be run on the target system) and then finally install the files.
Below is my page flow, I am using MUI2 with custom pages:
.....
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE "license.rtf"
Page custom SetUpConfiguration CheckConfiguration
Page custom ConfigurationErrorHandling
!insertmacro MUI_PAGE_INSTFILES
....
The CheckConfiguration function is trying to execute the VBScript but it is not working right now.
I am fairly new to NSIS and am trying to figure out a way to run a VBScript on the target system and obtain certain information from it before modifying the target system in any way (including extracting the files). This is the business requirement. I need to make sure that I gather all the input from the user and then verify that it is valid (using the VBScript that is to be run on the target system) and then finally install the files.
Below is my page flow, I am using MUI2 with custom pages:
.....
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE "license.rtf"
Page custom SetUpConfiguration CheckConfiguration
Page custom ConfigurationErrorHandling
!insertmacro MUI_PAGE_INSTFILES
....
The CheckConfiguration function is trying to execute the VBScript but it is not working right now.