installshield

How to execute an Installshield Custom action while Rollback?

I have an InstallShield installer which does some stuff. In case the installation breaks the rollback sequence gets started. I do know that I can create conditions for my custom actions in order to make it run only during install or uninstall, but which condition do I set to make it run on rollback? To be precisely I need rollback and ...

How do I perform certain actions in InstallShield in all situations other than a repair?

I've configured an InstallShield setup to delete certain VDs from IIS right before the InstallFiles action. The code is being called within the "OnInstallFilesActionBefore" event. This works fine, except that I don't want the VDs to be removed if the setup is repairing. I've found this page which lists the possible events; however, it s...

Is it OK to add a Condition to a core InstallShield Custom Action? (like OnInstallFilesActionBefore)

I added a condition to the OnInstallFilesActionBefore Custom Action via the Sequences editor. I made it so it only executes the first time you install the setup, which means my condition is: Not Installed I'm now seeing this warning logged when compiling: ISDEV : warning The condition for Custom Action OnInstallFilesActionBef...

InstallShield PackageForTheWeb compatibility

Is the classic InstallShield PFT 4.00 wrapper still working with modern OSes, one customer reported an error and I am not sure if its related to PFT: "program is not a valid 32 bit program." This is system information: Microsoft Windows XP Media Center Edition Version 2002 Service Pack 3. 2.8 Ghz 1GB RAM PFT wrapped setupper works n...

Check whether the user name is in the administrator group

In an InstallShield basic MSI project: how can I check whether a user name is in the administrator group? (Not the current user with which I know it's possible to do so.) ...

Simplest way of localizing InstallShield Registry keys

Which is the simplest way to localize the registry keys based on the selected language of an InstallShield setup? I am thinking about writing an VBS which sets some properties based on the selected language. These properties could be used from within the registry key dialog of InstallShield. But isn't there a simpler way? ...

How can I install a file to a directory pointed to by a registry key/value in an Installshield Installscript-MSI project?

One of the files in my installation needs to get copied into a location pointed to by a registry key/value pair on the user's destination machine. Right now, I have a kind of kludgy solution where I have the files set to copy to [TempFolder] in the Components view, and then some custom InstallScript code in my OnFirstUIBefore() function...

Where does Windows store ACLs and do ACLs follow a file from one machine to another?

Our app uses a component that requires a license file in the directory with our executable, which happens to be a .NET WinForms app though I think it is immaterial to this question. When installed on some XP Pro machines (just three out of several hundred thus far), the component throws a license exception. So I regenerated the license f...

How programmatically build InstallShield msbuild task on win2008 x64?

Hi. I have a problem using MSBuild and InstallShield on Win 2008 Server x64. I tried to build InstallShield project using MSBuild task which InstallShield team provided and they works well if I run msbuild from C:\Windows\Microsoft.NET\Framework\3.5\ but when I try to run it from C:\Windows\Microsoft.NET\Framework**64** \3.5\ I`ve got ...

Installshield - How do I make installshield build the entire cd?

Right now the Release build just makes the files necessary for the install. But I want to create the CD structure automatically with InstallShield, so that when I go to Tools, Open Release Folder it has \Install \Tools \Help autorun.inf I've looked at the execute batch file or copy to folder options for a Release, I was hoping there ...

Is there an InstallShield module that enforces that a process needs to be shut down?

Specifically I want to be able to detect that an application is running and disallow the user from continuing the install process (via disabling the Next button, etc.) Seems like there's no way to do this without writing a custom script, but this seems like such a basic utility that I feel like I'm overlooking something. Thanks in adva...

How can I modify InstallShield Pre-requisite Dialog prompt behaviour?

Hi, I would like to modify the Setup Pre-requisite dialog behaviour but could not find out how. I have added the SQLSever2005 Express SP1 pre-requisite and have made it 'Optional'. Its optional because they can choose a remote SQL server if they like. When I run the setup on a machine where it detects that it doesn't have SQLExpress in...

Is there any definitive documentation on writing software installers?

I've read a bunch of documentation on installers and haven't come across anything good that explains the underlying concepts. Most of the installer software I've come across is based on the same "database" like structure that I just don't understand at all. All of the documentation that comes with the various products - i.e. WiX, Ins...

Upgrade Issue in Installshield 2008 Premier Edition

Hi friends, Coming straight to the point i am facing problem while upgrading an Higher version over Lower version. i have implemented multilingual support; Assume that older version being installed in French while doing upgrade it is coming in English which is my Operating System language; in fact it should show in French. please help ...

Changing the Compression mechanism in Installshield?

I am working on a Java Installer project that user InstallShield. (Java panels) The installer package is created automatically while building the installer. The final installer contains of a setup.exe file and a setup.jar. All my 3rd party jar files are packaged within the setup.jar (It is the general way the installshield follows) But...

Install Shield 2009 Premier, Uninstall doesn't close the process/gui

My application (developed using C#.net) is open now i uninstall, InstallShield gives message stating the application is already open and whether really want to close the application. Selection 'Ignore' continues uninstall. Some files and the exe of the application are not closed. How to close them by installshield on uninstall. Or there ...

Always update files in minor upgrade (how to)

I am creating an install package using InstallShield Pro X. The upgrade works properly. However, the product manager wants the upgrade to replace all files on an upgrade even if the create date != modify date on the file. I see that to do this I need to set REINSTALLMODE=vamus rather than vomus. However, I don't see how to tell InstallS...

Merge Module not found. Installshield 8

Hello Guys, We're using Installshield 8 in creating our installer. While building, we are getting this error. Error -4075: File not found. We traced the problem to a "missing" Merge Module. The weird thing is, the Merge Module does exist in the correct location! Browsing the merge module manually solved the problem. So we checked-in...

Installshield differential installer with embedded Installshield Redistributable Object

I have an installer for a product X. The installer for the product X is using an installshield object Y. Version 3.2R1 of product X was built with version 5.0R5 of product Y. Version 3.3C1 of product X is built with version 5.1R7 of product Y. I also have a differential installer to update 3.2R1 installation to 3.3C1. It is working p...

Installshield doesn't display the correct language

I am using InstallShield 2008 Premier Edition and I have created a multilanguage setup. When i install the setup in language other than English (e.g. in French) it clearly shows all labels and messages correctly. The problem starts when I run the generated setup.exe file again. It should show the Modify/Repair page in the language that ...