Version Options
Previous Top Next

Version - This tab controls parameters that tell Thinstall how to handle version changes during Install.



clip0291

· Program Identification String - This string replaces %VersionId% in macro expanded filenames. By default %VersionId% is used to create the StartMenu\Programs subdirectory to place your program and uninstall shortcuts. It is also used to create the Control Panel Add/Remove Programs registry key for uninstall - so it should stay consistent across multiple versions of the same application.
· Use newest last modified file time as Program Version - When this checkbox is marked, Thinstall will automatically calculate a version number for your software. The version number is strictly for Thinstall's purposes of determining which of two installations is newer so the user can be warned about downgrading or upgrading. When Thinstall automatically calculates a version number it uses newest the last-modified date from all the files in your project, i.e. the file date from the last file you edited/changed.
· Program Version - If you want to manually set the version number rather than have Thinstall calculate it, you can pass in an integer here. The value should be between 1 and 2-billion.


When running same version from different path -If the user attempts to run a copy of your EXE from a path where it is not installed
· Warn user & run installed copy - Let the user know the copy that is actually being run is in a different directory to avoid confusion.
How might the user be confused?
1. If your program accepts command-line arguments, relative filenames might not be transfered over correctly to the installed instance of your EXE.
2. If your program is being run by another program that tracks its process ID, the parent process will see the copy it invoked as having exited with an exit code of 0.
3. You, as a developer, might rebuild a thinstall package with minor project changes that don't generate a new version. When you run the built EXE, it will run the installed copy and you will not see the changes you made.
· Automatically run installed copy - Silently run the installed copy of this EXE without notifying the user.




When installing newer version
· Ask user first - Before replacing the older install the user is informed and given a chance to cancel.
· Automatically replace older - The older version is uninstalled and the new version is installed automatically.



When uninstalling older version
· Ask user first - Before replacing the newer install the user is informed and given a chance to cancel.
· Automatically replace newer - The newer version is uninstalled and the older version is installed automatically.
· Don't permit - The user is not allow to downgrade to an older version.