Skip to content

This tool is designed to convert Inno Setup 5.x and 6.x constants to local paths or local paths to constants.

Notifications You must be signed in to change notification settings

Wilenty/Inno-Setup-5.x-6.x-constants-converters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InnoSetup 5.x/6.x constants converters

Latest Version Total Downloads Latest Release Downloads

If my tool helps you in any way, please support me.

There you can check if, for example, you entered the constants correctly in your installer, which you are just creating. As well as you can expand all constants or change the entire command to constants for Inno Setup.

Without the given constant, it shows possible constants that can be used to convert local paths, just select the appropriate Inno Setup version.
You can save the expanded constants for future use. Just select all text ([ctrl]+[a]), then copy ([ctrl]+[c]), and paste it in any editor ([ctrl]+[v]), like a notepad, then save it to a file.

Any error in the conversion of constants is displayed separately in this way: [->error message<-]
So, with my tool you can find where you made a mistake. Of course the converters does not expands functions and/or procedures which exists in your script in the [Code] section, as with non-existent custom messages (cm:) and others.

I prepared some screenshots of the program, where it converts Inno Setup constants into local paths or it converts local paths into constants.

I have also added cmd scripts to run these converters in Administrative mode for IS6 (Inno Setup 6.x).

Below some commands to check the converters.

Convert constants to local paths:
{cmd} /c copy /y {sys}\drivers\etc\hosts {sys}\drivers\etc\hosts.MyBackup

Convert local paths to constants (if your OS is installed on "c:" drive):
C:\Windows\system32\cmd.exe /c copy /y C:\Windows\system32\drivers\etc\hosts.MyBackup C:\Windows\system32\drivers\etc\hosts

About

This tool is designed to convert Inno Setup 5.x and 6.x constants to local paths or local paths to constants.

Topics

Resources

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published