inno-setup

Automate obtaining the SHA256 for a file to download with Inno Setup 6.1?

一曲冷凌霜 提交于 2021-02-08 06:37:32
问题 The documentation for DownloadTemporaryFile says this about the RequiredSHA256OfFile parameter: If RequiredSHA256OfFile is set it will compare this to the SHA-256 of the downloaded file and raise an exception if the hashes don't match. An exception will be raised if there was an error. Otherwise, returns the number of bytes downloaded. Returns 0 if RequiredSHA256OfFile is set and the file was already downloaded. From the answer here I have determined that the correct commandline method to

Compile Inno Setup project through a batch file (.bat)

纵饮孤独 提交于 2021-02-08 05:13:56
问题 In my work project, we have to create 4 installers using Inno Setup. That way, I have to run file by file, which ends up demanding more of my time. Files *.iss: setup_prog_01.iss; setup_prog_02.iss; setup_prog_03.iss; setup_prog_04.iss; Would it be possible to create a batch file (.bat) to compile all these *.iss files at once? 回答1: There's ISCC.exe command-line Inno Setup compiler. So you can do: ISCC.exe setup_prog_01.iss ISCC.exe setup_prog_02.iss ISCC.exe setup_prog_03.iss ISCC.exe setup

Compile Inno Setup project through a batch file (.bat)

╄→гoц情女王★ 提交于 2021-02-08 05:11:40
问题 In my work project, we have to create 4 installers using Inno Setup. That way, I have to run file by file, which ends up demanding more of my time. Files *.iss: setup_prog_01.iss; setup_prog_02.iss; setup_prog_03.iss; setup_prog_04.iss; Would it be possible to create a batch file (.bat) to compile all these *.iss files at once? 回答1: There's ISCC.exe command-line Inno Setup compiler. So you can do: ISCC.exe setup_prog_01.iss ISCC.exe setup_prog_02.iss ISCC.exe setup_prog_03.iss ISCC.exe setup

Inno Setup installer that only runs a set of embedded installers

Deadly 提交于 2021-02-08 03:28:40
问题 I'm creating an installer in Inno Setup that will only run a set of embedded installers. It does not install any files on its own. When compiling the installer, I am receiving this error: You must enter a full path with drive letter; for example: C:\APP or a UNC path such as \server\share Below is my code but I have swapped out company info for test info. I have our full UNC path so I am not sure why I am getting this error? During this process, how are the credentials for the location being

Inno Setup installer that only runs a set of embedded installers

戏子无情 提交于 2021-02-08 03:26:28
问题 I'm creating an installer in Inno Setup that will only run a set of embedded installers. It does not install any files on its own. When compiling the installer, I am receiving this error: You must enter a full path with drive letter; for example: C:\APP or a UNC path such as \server\share Below is my code but I have swapped out company info for test info. I have our full UNC path so I am not sure why I am getting this error? During this process, how are the credentials for the location being

Inno Setup installer that only runs a set of embedded installers

给你一囗甜甜゛ 提交于 2021-02-08 03:26:16
问题 I'm creating an installer in Inno Setup that will only run a set of embedded installers. It does not install any files on its own. When compiling the installer, I am receiving this error: You must enter a full path with drive letter; for example: C:\APP or a UNC path such as \server\share Below is my code but I have swapped out company info for test info. I have our full UNC path so I am not sure why I am getting this error? During this process, how are the credentials for the location being

Inno Setup error when installing to USB drive root: “You must enter a full path with drive letter”

梦想与她 提交于 2021-02-07 20:24:21
问题 I would like to know how to fix this kind of Error: You must enter a full path with drive letter; for example: C:\APP or a UNC path in the form: \server\share This appears whenever I try to force the Inno Setup Compiler (5.5.5 u) to put my stuff into, let say H:\ instead of H:\New Folder . I need the compiler to customize my destination location to H:\ . Here is my sample program; [Setup] AppName=My Program AppVersion=1.5 DefaultDirName={drive:F:} AppendDefaultDirName=no [Files] Source:

Inno Setup error when installing to USB drive root: “You must enter a full path with drive letter”

余生颓废 提交于 2021-02-07 20:22:11
问题 I would like to know how to fix this kind of Error: You must enter a full path with drive letter; for example: C:\APP or a UNC path in the form: \server\share This appears whenever I try to force the Inno Setup Compiler (5.5.5 u) to put my stuff into, let say H:\ instead of H:\New Folder . I need the compiler to customize my destination location to H:\ . Here is my sample program; [Setup] AppName=My Program AppVersion=1.5 DefaultDirName={drive:F:} AppendDefaultDirName=no [Files] Source:

How to optionally include certain code for certain features?

天涯浪子 提交于 2021-02-07 19:00:48
问题 In Inno Setup, I have a main script which is the "core system", meaning everything which is absolutely needed for our software to install/run at all. Additionally, I'm writing script files for each major feature which may or may not be compiled into the installer. At the top of the main script file, I include other script files... #include "AdditionalOption.iss" #include "AnotherOption.iss" When compiling this main script, the person compiling may choose whether or not to compile these

Inno Setup - How to show percent done, elapsed time and estimated time progress at uninstaller?

天大地大妈咪最大 提交于 2021-02-07 10:55:00
问题 I am trying to use this code: How to show percent done, elapsed time and estimated time progress? But I have problems, because i use this code to the installer too. 回答1: Merging these two piece of code together: Inno Setup uninstall progress bar change event How to show percent done, elapsed time and estimated time progress? [Code] function SetTimer(hWnd: longword; nIDEvent, uElapse: LongWord; lpTimerFunc: LongWord): LongWord; external 'SetTimer@user32.dll stdcall'; function GetTickCount: