installshield

InstrallShield Major Upgrade not completely uninstalling previous version

白昼怎懂夜的黑 提交于 2019-12-14 02:27:44
问题 I have an InstallShield 2016 InstallScript MSI project. I used the Major Upgrade option but with that approach what I see is that files of previous version gets removed, registry entries get deleted, etc. However, the uninstallation logic that is in the InstallScript (*.rul) files does not seem to get executed and hence the uninstall of previous version is not complete. Basically, it seems Major Upgrade does not execute InstallScript code? Please advise. thanks, 回答1: Many years ago I had to

How can i execute DLL in custom action in installshield basic msi project?

こ雲淡風輕ζ 提交于 2019-12-14 02:24:47
问题 I have created a class library project in C#, and I want to execute the output dll of that project in custom action of my Basic MSI project. 回答1: Thanks Everyone, I certainly found the solution, Actually the mistake was doing was, i was taking New Standard DLL custom action for executing C# DLL, but i choose Managed Code Custom action and i can execute my DLL without any problem... 回答2: If you are using C# you can try creating an installer class action. Here is a tutorial which may help you:

C# code to uninstall the installshield setup

坚强是说给别人听的谎言 提交于 2019-12-13 09:50:01
问题 I have taken setup using Installshield. (Setup.exe). I want c# code to uninstall that exe using Installshield setup product code. And also, I have to know why exe didn't uninstall while trying to uninstall manually. Its triggers rollback. My log files seems like this. Is there any problem? Note: I have attached the MergeModule(MSM) in my Installshield setup. 回答1: Logging & Debugging : If your setup rolled back during uninstall check the MSI log file. You seem to have a log file, so please

How to add dependencies to a windows service

冷暖自知 提交于 2019-12-13 09:03:26
问题 How to add dependencies to a windows service in InstallShield? My winservice depend on the two following services, so they must run before the service starts: COMSysApp SENS Note: I have used InstallShield project to install my service and not windows installer class so i could not use the way that mr. Jerry.Wang suggested in his article. EDIT: How to add a dependency to SEN Service in installshield? 回答1: If you have dependencies on other services, the ServiceInstall table has the

What is the root cause of “Error Applying Transforms. Verify that the specified transform paths valid”?

浪尽此生 提交于 2019-12-13 03:49:11
问题 I have MSI installer and I'm installing and uninstalling it using PowerShell script. When I uninstall it then I'm getting following error on Windows 2008/2016 server which is created on Azure. Error Applying Transforms. Verify that the specified transform paths valid I'm not getting this issue during uninstallation if I'm using non-Azure (Hyper-V etc.) environment. I tried couple of solution like to delete the Transforms registry, sfc /scannow, msiexec register/unregister. It works in that

installer registry access in windows server 2012

陌路散爱 提交于 2019-12-13 03:24:46
问题 I have a custom action in an Installshield Basic MSI project to find out the version of SQL Server from registry. RegKey2012 = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\" & _ "Microsoft SQL Server\MSSQL11.MSSQLSERVER\" If RegKeyExists(RegKey2012) Then WScript.StdOut.Write("2012") Else WScript.StdOut.Write("2008R2") End If Function RegKeyExists(Key) Dim oShell, entry On Error Resume Next Set oShell = CreateObject("WScript.Shell") entry = oShell.RegRead(Key) If Err.Number <> 0 Then Err.Clear

how to show EULA during upgrade using installshield

有些话、适合烂在心里 提交于 2019-12-13 03:03:42
问题 the EULA window is enabled through the Interview panel in Installshield 2011, and it works fine when installing the program first time. However, it won't show in the dialog sequence when we do the upgrade. I guess it is a default behaviour in Installshield, is it possible to show it all the time? is it wise to do so? 回答1: You can Launch Eula window (License Agreement dialog) or custom dialog anytime you want. When upgrade, launch Eula Dialog from NextButton on SetupResume Dialog, move another

Repackaging Installshield 5.0 installer to MSI and removing dependencies

房东的猫 提交于 2019-12-13 02:15:52
问题 I have an installation package that installs a mapping program I use for work. As I now have to upgrade to Windows 10, unfortunately the program won't install as some components are no longer valid and it crashes out part way through installation. The installer package has been made with Installshield 5.0 some time ago. The dependencies installed are - dcom 95/98 - Visual C++ - Microsoft Data Access Components I would like to remove the two dependencies visual c++ and MDAC as they are already

During uninstalling upgraded product is refering the old build msi file for uninstallation

若如初见. 提交于 2019-12-13 00:28:39
问题 I am using InstallShield X - professional Edition, version 10.0 I have created .exe file through installshield Basic MSI project and installsed it. During installation it extract the .msi file at location: C:\Windows\Downloaded Installations{FF12DD....}*.msi After that I have created another product with updated version and install it over the older product. The latest ptoduct got installed successfully. After updating when I am trying to uninstall it, The updated product is using the older

InstallShield shortcut links going to wrong directory

雨燕双飞 提交于 2019-12-13 00:06:59
问题 I've created a project in Visual Studios 2010, and when I package it with InstallShield, I click new -> pick the primary output file, rename it, and then click the desktop option as well. It properly creates the shortcuts to both the start menu and the desktop, but they don't point to the correct location. If I go straight to the Program Files x86 folder and click on the .exe, the program loads correctly. If I click on either of the links, it fails 回答1: Try this. Go to InstallShield Project -