Hello
1 question: how can i force my "new installer" to take intalldir from windows registry?
2 question: if question 1 is not possible, how can i "new installer" force to pop-up dialog box with error text if specific file does not exists in the same directory where "new installer" is placed?
3 question: can i force "new installer" to delete specific files if they exists in the directory taken from windows registry?
Few questions
Re: Few questions
1. To retreive an install path from windows registry go to System\Variables and specify the registry key.
Then you can use this variable on 'Installation\Files and Folder' - 'Default Installation Path'.
3. Yes, use System\Commands:
Then you can use this variable on 'Installation\Files and Folder' - 'Default Installation Path'.
3. Yes, use System\Commands:
Code: Select all
Command: <SystemDir>\cmd.exe
Parameters: /C IF EXIST "<MyVar>\file.exe" ( DEL /Q "<MyVar>\file.exe")
Timing: Berfore Installation
Re: Few questions
It's stupid question, but where can i read the basics of "parameter" field? Its c++ or what?
Re: Few questions
It's MS-DOS command. Please note that the 'Parameters' field must start with: /C