inno-setup

Overwrite installed files with files in setup subfolder in Inno Setup

不羁的心 提交于 2020-12-29 14:18:47
问题 I recently have found some old PC games to play on my Windows 10 64-bit computer. I have looked at various online sources to get the games working. Now I'm interested in creating a custom installer for all the various steps taken to get the games to work properly. I succeeded getting C&C Generals to work with a custom installer via Inno Setup. I however lack the expertise after a bit of research and trial to do the following: I am able to install the software and use the official patch to

Installer built by Inno Setup and SPAWNWND, NOTIFYWND parameters on UAC window

我怕爱的太早我们不能终老 提交于 2020-12-29 14:10:15
问题 What are SPAWNWND and NOTIFYWND parameters in the program path? 回答1: Those two parameters are used for communication between the elevated and non elevated parts of the setup for ...AsOriginalUser functionality, exit codes, etc. You can probably find more details in the Inno source code itself. Note that these are an implementation detail and you shouldn't rely on them or do anything with the values. 回答2: spawn() is a c-function group that executes, child processes, but not through a forking!

Installer built by Inno Setup and SPAWNWND, NOTIFYWND parameters on UAC window

跟風遠走 提交于 2020-12-29 14:09:41
问题 What are SPAWNWND and NOTIFYWND parameters in the program path? 回答1: Those two parameters are used for communication between the elevated and non elevated parts of the setup for ...AsOriginalUser functionality, exit codes, etc. You can probably find more details in the Inno source code itself. Note that these are an implementation detail and you shouldn't rely on them or do anything with the values. 回答2: spawn() is a c-function group that executes, child processes, but not through a forking!

Inno Setup: How can I edit and retrieve value from a children section of a JSON file

别说谁变了你拦得住时间么 提交于 2020-12-26 04:03:59
问题 I'm working to create an installer and I need to edit and retrieve values from the JSON file. To retrieve and edit the values from the Section_2 works fine. The problem is to edit and retrieve values from the children sections of Section_1 . Bellow we can see an example: { "Section_1": { "children_1": { "children_1_1": "value_1", "children_1_2": "value_2" }, "children_2": "blablabla" }, "Section_2": { "children_2_1": "value_1", "children_2_2": "value_2" } } [Files] Source: "{#ProjectUrl}

Install only if external file exists

故事扮演 提交于 2020-12-25 18:23:12
问题 I would like to instruct Inno Setup to install a certain external file only if does exist. Like so: Source: "d:\sources\SomeDLL.dll"; DestDir: {app}; \ Flags: external regserver uninsneveruninstall ignoreversion However, I did not find a flag that would instruct Inno Setup to skip this line / file if d:\sources\SomeDLL.dll does not exist. Is this possible? Thank you! 回答1: Use the skipifsourcedoesntexist flag: This flag instructs the compiler -- or Setup, if the external flag is also used --

Install only if external file exists

余生长醉 提交于 2020-12-25 18:21:40
问题 I would like to instruct Inno Setup to install a certain external file only if does exist. Like so: Source: "d:\sources\SomeDLL.dll"; DestDir: {app}; \ Flags: external regserver uninsneveruninstall ignoreversion However, I did not find a flag that would instruct Inno Setup to skip this line / file if d:\sources\SomeDLL.dll does not exist. Is this possible? Thank you! 回答1: Use the skipifsourcedoesntexist flag: This flag instructs the compiler -- or Setup, if the external flag is also used --

Install only if external file exists

元气小坏坏 提交于 2020-12-25 18:18:13
问题 I would like to instruct Inno Setup to install a certain external file only if does exist. Like so: Source: "d:\sources\SomeDLL.dll"; DestDir: {app}; \ Flags: external regserver uninsneveruninstall ignoreversion However, I did not find a flag that would instruct Inno Setup to skip this line / file if d:\sources\SomeDLL.dll does not exist. Is this possible? Thank you! 回答1: Use the skipifsourcedoesntexist flag: This flag instructs the compiler -- or Setup, if the external flag is also used --

i want that my inno_setup application cannot open by innounp or any unpacker software

自闭症网瘾萝莉.ら 提交于 2020-12-08 05:11:52
问题 i want that innounp, the Inno Setup Unpacker cannot unpack my installer which i made through inno setup i have made installer but through innoup my installer can be unpack. i have sreached and tried .is there any way i can do this?http://innounp.sourceforge.net/ 回答1: Inno Setup installer can be encrypted. See Encryption directive. 来源: https://stackoverflow.com/questions/57445843/i-want-that-my-inno-setup-application-cannot-open-by-innounp-or-any-unpacker-sof

i want that my inno_setup application cannot open by innounp or any unpacker software

淺唱寂寞╮ 提交于 2020-12-08 05:10:18
问题 i want that innounp, the Inno Setup Unpacker cannot unpack my installer which i made through inno setup i have made installer but through innoup my installer can be unpack. i have sreached and tried .is there any way i can do this?http://innounp.sourceforge.net/ 回答1: Inno Setup installer can be encrypted. See Encryption directive. 来源: https://stackoverflow.com/questions/57445843/i-want-that-my-inno-setup-application-cannot-open-by-innounp-or-any-unpacker-sof

Inno Setup - Language selector with VCL Styles

这一生的挚爱 提交于 2020-12-07 08:20:53
问题 Is there any way to use language selector (Inno Setup) with VCL Styles? How? 回答1: The "Select Setup Language" dialog displays before the InitializeSetup event function is called. So you cannot load the skin for the dialog. As a workaround, you can implement your own "language" dialog, and display that from the InitializeSetup . This way the custom dialog will be skinned. Once a user selects a language, you restart the installer with the /LANG switch to load the selected language. Make sure