installshield

InstallShield conditional feature installation

时光总嘲笑我的痴心妄想 提交于 2019-12-02 07:24:26
问题 How can I make a feature on my InstallShield project to be installed only if a registry value contains a certain value? That value may be only "YES" or "NO". I tried to configure a System Search like that : Root : HKLM Key : Software\MyKey\the_key_to_check Value : I let it blank Store the value in this property : ISVALUE (a just created property, without any value), and "just store the value in the property". Then, on my feature condition : Install Level : 1 Condition : Level:200, ISVALUE=YES

.NET managed dll custom actions in Installshield 2018

*爱你&永不变心* 提交于 2019-12-02 06:21:09
问题 I am using Installshield 2018 Express edition to make my setup and I wanted to include some custom actions coded in .NET, but I can't find the way to reference a custom action in .NET. I guess Installshield would have an option to refer to the assembly, class and public method to be invoked for the custom action but I can't find any option to do that. ¿Is there any way to achieve this? I'd prefer to use a dll instead of an exe and having to deal with the command line args, etc. 回答1: Express

Silent Installer with custom selection

爷,独闯天下 提交于 2019-12-02 05:11:44
Currently my installer is need user to choose which type of setting they want to use when install. Lets say got setting A,B and C. If want to make this in silent installer. Is there any method can use? I'm using install shield. Thanks in advanced. :) You can set PUBLIC PROPERTIES inside the MSI file from the msiexec.exe command line like this: msiexec /i test.msi /qn TESTPROPERTY=1 These properties are the ones you have hooked up to values input in the GUI. They are now set by the command line (or defaults are used from the Property table) and the entire GUI section of the MSI gets skipped on

Windows installer patch failure - Execute Sequence stops after first action and install process resets

送分小仙女□ 提交于 2019-12-02 04:11:25
I am seeing an unusual sporadic failure of one of our patches at several customer sites. The final error code is 1648 (No valid sequence could be found for the set of patches), which is occurring because error 2219 (Invalid Installer database format) occurs when attempting to read the summary information stream from one of the patch transforms. But I suspect this is only a side effect of an earlier silent error. Our patches all use the MinorUpdateTargetRTM property so there is really nothing to sequence, as any previously installed patched are automatically superseded. Our customers typically

Create an installer program: read a path to install to, from registry key (something like wix/installshield/nsis)

谁说胖子不能爱 提交于 2019-12-02 02:37:49
I would like to create an installer of my program. However because the installation is quite complicated, I need something more advanced than installshield limited edition. I have to run another installer from my current one. It doesn't matter if the user press "cancel" or installs the program, I just need to run it. I have to install a directory structure on user computer which has a lot of files, that's why i'm going mad with wix: 100 files and I should write all of them with my hands in that xml file? Are we mad? I have to install files from point 2 into a registry key. That's why I was

InstallShield fails because of a bad uninstall

陌路散爱 提交于 2019-12-02 01:59:48
问题 I'm building an InstallShield project, which does a [Major Upgrade][1] to an existing install (i.e. I changed the Product Code while retaining the Upgrade Code ). The uninstaller of the previous version (which is already deployed) is broken, and fails to run some scripts. This in itself is not a serious problem, as all relevant files are removed beforehand. The problem is that when the new installer attempts to uninstall the previous version, it aborts when the uninstaller fails. I've tried

How can I overwrite an error message occured on custom action

僤鯓⒐⒋嵵緔 提交于 2019-12-02 01:30:31
问题 I trigger an c# application by an custom action: On failing condition, my application tells Install Shield to abort the installation process using an exit code: static void Main(string[] args) { if(false) { Environment.ExitCode = 1; } } Using this approach, Install shield´s setup displays an error message like expected: How can I overwrite that error message by a custom text? 回答1: Reading between the lines here, it appears your custom action launches an EXE. If that is so, there is no way to

InstallShield Basic MSI project generate New GUID by CommandLine IsCmdBld.exe

只愿长相守 提交于 2019-12-02 00:50:11
I have an Installshield project .ism and I want to be able to run it by command line. It's there a possible way to generate a new Product Code by CommadnLine using IsCmdBld.exe Note: Can't use another build software Thanks in advance As @Steve mention you cannot generate new Product Code via command line, but what you can is set new product code with command line. What you need is generate random GUID with a 3rd party application (or use automation) and you may set this new GUID in command line as follow ... IsCmdBld.exe -z "ProductCode={D1B1C3E2-AA6F-455C-8533-C642EED0512D}" Yet another thing

.NET managed dll custom actions in Installshield 2018

[亡魂溺海] 提交于 2019-12-02 00:16:19
I am using Installshield 2018 Express edition to make my setup and I wanted to include some custom actions coded in .NET, but I can't find the way to reference a custom action in .NET. I guess Installshield would have an option to refer to the assembly, class and public method to be invoked for the custom action but I can't find any option to do that. ¿Is there any way to achieve this? I'd prefer to use a dll instead of an exe and having to deal with the command line args, etc. Express Edition : I am not sure the Express edition of Installshield supports custom actions or Installscript (custom

How can I overwrite an error message occured on custom action

眉间皱痕 提交于 2019-12-01 20:18:40
I trigger an c# application by an custom action: On failing condition, my application tells Install Shield to abort the installation process using an exit code: static void Main(string[] args) { if(false) { Environment.ExitCode = 1; } } Using this approach, Install shield´s setup displays an error message like expected: How can I overwrite that error message by a custom text? Reading between the lines here, it appears your custom action launches an EXE. If that is so, there is no way to do what you ask. You could show a message from your EXE before returning a non-zero exit code, but then