installer

Speed up Build-Process of WiX-Installer

梦想与她 提交于 2019-12-19 19:43:23
问题 For my Wix project I am harvesting 4 directories, via the pre-build-event of visual studio, which will result in about 160mb of data, and about 220 files, but the build process tooks very long. How can i speed that process up? I have one embedded media.cab file which will hold all the files. Is it the size or the amount of files that will slow the process down? Or is it the harvesting with the heat tool in the pre-build-event? Would it be faster with the HeatDirectory element? Anyone made

WiX RemoveFolderEx not working?

旧巷老猫 提交于 2019-12-19 17:48:10
问题 I wanted WiX to remove the AppData folder when uninstalling, so I looked at RemoveFolderEx and followed a few posts/guides on how to get it working. As far as i can tell, my implementation should work, but it does not. I'm using the following: <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="AppDataFolder"> <Directory Id="PRIVATEDATAFOLDER" Name="MyApp"/> </Directory> </Directory> <Property Id="PRIVATEDATAFOLDER"> <RegistrySearch Root="HKCU" Key="Software\AppCo\MyApp" Type="raw" Id=

MSI Error - Failure of regsvr32 custom action

耗尽温柔 提交于 2019-12-19 17:35:19
问题 Brief I have an installation package (MSI based) which attempts to register a dll file for use as a Windows Explorer Bar (Internet Explorer Toolbar). The custom action is defined as follows: [SystemFolder]\regsvr32.exe /s "pathtodllhere" The error The regsvr32 custom action does not work on Windows XP 64-bit. Output from MSI log: CustomAction SystemFolder_2 returned actual error code 5. Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did

Inno Setup: How to overwrite on install but not on change?

心已入冬 提交于 2019-12-19 11:17:42
问题 I know how to overwrite the files using this method [Files] Source: "Project\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs onlyifdoesntexist; Permissions: everyone-full But when I change the program using the Change option in 'Install Or Change Program' section I want to not overwrite the files. I create the change option for my installer like this: [setup] AppModifyPath="{srcexe}" /modify=1 How do I do this? 回答1: First, your code seems wrong. With the onlyifdoesntexist flag, the

Inno Setup: How to overwrite on install but not on change?

旧街凉风 提交于 2019-12-19 11:17:31
问题 I know how to overwrite the files using this method [Files] Source: "Project\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs onlyifdoesntexist; Permissions: everyone-full But when I change the program using the Change option in 'Install Or Change Program' section I want to not overwrite the files. I create the change option for my installer like this: [setup] AppModifyPath="{srcexe}" /modify=1 How do I do this? 回答1: First, your code seems wrong. With the onlyifdoesntexist flag, the

Inno Setup: How to overwrite on install but not on change?

血红的双手。 提交于 2019-12-19 11:16:34
问题 I know how to overwrite the files using this method [Files] Source: "Project\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs onlyifdoesntexist; Permissions: everyone-full But when I change the program using the Change option in 'Install Or Change Program' section I want to not overwrite the files. I create the change option for my installer like this: [setup] AppModifyPath="{srcexe}" /modify=1 How do I do this? 回答1: First, your code seems wrong. With the onlyifdoesntexist flag, the

Wix installation, server, client or both

喜你入骨 提交于 2019-12-19 11:06:35
问题 I want create Wix installer to install, Client , Server or Both based on User selection . My question is How can I restrict installing client when user selects Server (it gets installed as it has Level=1). I have customizied WixUI_Mondo . I tried using Condition for Component but no luck. <Feature Id="Client" Level="1"> <ComponentRef Id="ClientMainExecutable" /> <ComponentRef Id="ClientConfigurations" /> </Feature> <Feature Id="Server" Level="3"> <ComponentRef Id="ServerExecutable" />

Wix installation, server, client or both

风格不统一 提交于 2019-12-19 11:06:21
问题 I want create Wix installer to install, Client , Server or Both based on User selection . My question is How can I restrict installing client when user selects Server (it gets installed as it has Level=1). I have customizied WixUI_Mondo . I tried using Condition for Component but no luck. <Feature Id="Client" Level="1"> <ComponentRef Id="ClientMainExecutable" /> <ComponentRef Id="ClientConfigurations" /> </Feature> <Feature Id="Server" Level="3"> <ComponentRef Id="ServerExecutable" />

How to get path of installation of target game/application from registry when installing mod/plugin using Inno Setup?

廉价感情. 提交于 2019-12-19 10:57:25
问题 I would like to create installer for mod of the game. And I need to detect where is installed the game. I know where is path of the game in registry. But the game can be in another launchers - Steam, GOG. How to detect in order? For example: If I have steam version need to detect path of installation from registry for steam If I have GOG version need to detect path of installation from registry for GOG If I have both versions (Steam and GOG) then default path of installation will be for steam

InnoSetup, change the Uninstallable property behavior at runtime?

我怕爱的太早我们不能终老 提交于 2019-12-19 10:47:22
问题 SCENARIO I have created an installer that will installs a Malware application for educative purposes, the installer contains these two tasks: [Tasks] Name: hidden; Description: Hidden mode; GroupDescription: Installation Mode Name: visible; Description: Visible mode; GroupDescription: Installation Mode This means, performs a hidden installation for the user (hidden dirs and files and make uninstallabe the installer), or a visible installation (normal dirs and files and Uninstallable=True).