How to set inno setup script parameters from final builder?

Amol Kulkarni

I am new to Final Builder 7 and got some work on it.

I want to set minor version from Final Builder 7 to inno setup script by asking user to enter the minor version number.

I have defined user variable called minor, which is set by asking user input, I want to use this variable in one of the .iss files in the project.

Any clue?

Thanks in advance.

-- With best regards Amol

Amol Kulkarni

I solved this using following script:

#define AppVersion GetFileVersion("MyApp.exe")
#define Major
#define Minor
#define Rev
#define Build
#define Version ParseVersion("MyApp.exe", Major, Minor, Rev, Build)

[Setup]
AppName=MyApp
AppVerName={#AppVersion}
VersionInfoVersion={#AppVersion}
AppVersion={#AppVersion}
OutputBaseFilename=5{#Build}

-- Cheers

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How to set inno setup script parameters from final builder?

From Dev

How to pass parameters from Java FX Ant task to Inno Setup?

From Dev

How to set a global environment variable from Inno Setup installer?

From Dev

Inno Setup - How to set permissions of installation folder

From Dev

How do I use PathCombine() from WinAPI in Pascal Script/Inno Setup?

From Dev

How do I return a string from DLL to Inno Setup Pascal Script

From Dev

How to call "npm install" from Inno Setup?

From Dev

Passing parameters to an Inno Setup Check function from multiple entries

From Dev

How to set registry key (environment variable) with value from [Code] section of Inno Setup?

From Dev

How can I set the exit code from return code of my Execute File in Inno Setup?

From Dev

How can i get Inno setup uninstaller script to remove a service

From Dev

How to check if an object is NULL in Inno Setup Pascal Script?

From Dev

How can i get Inno setup uninstaller script to remove a service

From Dev

How to set Launch program according to components selected in Inno Setup?

From Dev

Inno setup compiler How to set launching image during app loading

From Dev

Inno Setup Set TInputQueryWizardPage Height

From Dev

How do I install a JRE from an Inno Setup?

From Dev

How to completely disable specific component in Inno Setup from code section?

From Dev

How to embed a form from a DLL into an Inno Setup wizard page?

From Dev

Inno Setup: How to pass variable from [Code] to [Run] (or other section)

From Dev

Inno Setup: How to pass variable from [Code] to [Run] (or other section)

From Dev

Is it possible to create a setup project using final builder

From Dev

List of Inno Setup pages in order with parameters and screenshot

From Dev

Inno setup Error Invalid number of parameters on end;?

From Dev

"Type mismatch" error on "set of char" in Pascal Script of the Inno Setup Unicode version

From Dev

Inno Setup loop from A to Z

From Dev

Command line parameters missing special characters like ! when ran via batch file from Inno Setup

From Dev

How to override functions in Inno Setup?

From Dev

How to split a string in Inno Setup

Related Related

  1. 1

    How to set inno setup script parameters from final builder?

  2. 2

    How to pass parameters from Java FX Ant task to Inno Setup?

  3. 3

    How to set a global environment variable from Inno Setup installer?

  4. 4

    Inno Setup - How to set permissions of installation folder

  5. 5

    How do I use PathCombine() from WinAPI in Pascal Script/Inno Setup?

  6. 6

    How do I return a string from DLL to Inno Setup Pascal Script

  7. 7

    How to call "npm install" from Inno Setup?

  8. 8

    Passing parameters to an Inno Setup Check function from multiple entries

  9. 9

    How to set registry key (environment variable) with value from [Code] section of Inno Setup?

  10. 10

    How can I set the exit code from return code of my Execute File in Inno Setup?

  11. 11

    How can i get Inno setup uninstaller script to remove a service

  12. 12

    How to check if an object is NULL in Inno Setup Pascal Script?

  13. 13

    How can i get Inno setup uninstaller script to remove a service

  14. 14

    How to set Launch program according to components selected in Inno Setup?

  15. 15

    Inno setup compiler How to set launching image during app loading

  16. 16

    Inno Setup Set TInputQueryWizardPage Height

  17. 17

    How do I install a JRE from an Inno Setup?

  18. 18

    How to completely disable specific component in Inno Setup from code section?

  19. 19

    How to embed a form from a DLL into an Inno Setup wizard page?

  20. 20

    Inno Setup: How to pass variable from [Code] to [Run] (or other section)

  21. 21

    Inno Setup: How to pass variable from [Code] to [Run] (or other section)

  22. 22

    Is it possible to create a setup project using final builder

  23. 23

    List of Inno Setup pages in order with parameters and screenshot

  24. 24

    Inno setup Error Invalid number of parameters on end;?

  25. 25

    "Type mismatch" error on "set of char" in Pascal Script of the Inno Setup Unicode version

  26. 26

    Inno Setup loop from A to Z

  27. 27

    Command line parameters missing special characters like ! when ran via batch file from Inno Setup

  28. 28

    How to override functions in Inno Setup?

  29. 29

    How to split a string in Inno Setup

HotTag

Archive