installer

How to stop a running process during an MSI based un-install?

Hey all, I'm using Wise Package Studio 7.0 SP2 on Windows XP. I've got an MSI Wrapped EXE installation that goes about happily installing some files and then running one of the files from the installation which we can refer to as app.exe. So on the "Execute Deferred" tab of the MSI Editor, I had to add the lines: If Not Installed the...

MSI Bootstrapping: External URLs

Much searching has lead me to find several descriptions of how to create a bootstrapping msi, but these solutions all assume the msi is local or a standard Windows component. Is there a way to make an msi that downloads an installer (which is also an msi) with normal MSI or Wix code rather than by having the bootstrapper execute some no...

Best approach to writing a generic installer for a Linux application?

We have a Linux server application that is comprised of a number of open-source tools as well as programs we've written ourselves. Ideally we would like to be able to install this application on any common Linux distribution. In the past, we've written perl scripts to automate installs of this application. Unfortunately, due to idiosync...

How to get the installation directory?

The MSI stores the installation directory for the future uninstall tasks. Using the INSTALLPROPERTY_INSTALLLOCATION property (that is "InstallLocation") works only the installer has set the ARPINSTALLLOCATION property during the installation. But this property is optional and almost nobody uses it. How could I retrieve the installation...

Preventing a feature from being upgraded

I have a tool which automatically creates InstallShield installers (InstallScript, not MSI), and my main problem at the moment is that when upgrading an installation, I need a way to prevent features from being upgraded. During the installation, I want to check the version of a exe-file installed on the target system, and depending on th...

"simple" installer for a web application (IIS virtual app + sql server db setup).

Hi, I need to create a web application installer. Install Shield seems like overkill, is there something that can reliably install a web application (IIS setup + sql server db setup). Suggestions? ...

MSI Installation Issues

I've got an MSI based install that I've wrapped in an EXE file as per my installation packaging software (which is Wise Package Studio 7.0 SP2). I've made many changes to the install, and every time I've tested them, they've worked just fine... up until now. I changed some text on a dialog box for when the installation finishes and now...

InstallShield2009 Unicode Support

Our installation program is written using InstallShield2009, and as part of certification requirements we have to support Unicode throughout. The application itself is .NET, so supports Unicode natively, however on testing our installation with a Chinese character set we can see problems thrown up by InstallShield dialogs. Having done ...

How to generate WiX XML from a .reg file?

Is there a tool to generate WiX XML given a .reg file? In 2.0, you were supposed to be able to run tallow to generate registry XML: tallow -r my.reg For what it's worth, the version of tallow I have is producing empty XML. In 3.0, tallow has been replaced with heat, but I can't figure out how to get it to produce output from a .re...

How do I properly repackage the JRE installer in my installer?

I've got a Java application that I'm writing an installer for. We're using the AdvancedInstaller program to create our installer (well, we're evaluating it currently, but will definitely purchase a license soon), and although it has special support for Java applications, it is geared more towards repackaging them as desktop-type apps, a...

Setting the manufacturer in a VS 2008 Setup Project

I have a windows setup project that installs a service. All works well except for one thing: The default directory offered to the user during install is of the form "C:\Program Files\Microsoft\ProgramName". I am trying to modify this so that instead of "Microsoft" we would have our company's name. I found the application folder property...

Create Applescript in windows?

I have a C# web application that needs to deploy a file to the client computer's hard drive. (A javascript file for Adobe Acrobat) If the client is using a mac, I have an applescript that will search their applications directory for acrobat and then deploy the JS file in the correct location. The problem is that I am currently creating...

Debugging C# Custom Installer Classes

I have written an installation class that extends Installer and overrides afterInstall, but I'm getting a null pointer exception. How can I got about debugging my class? ...

Increment version number in advanced installer

I read a little of the help for my advanced installer 6.5.1 and couldn't find a way to change the version string except by hand. ...

Getting the SourceDir property from a C# custom action

I have some directories that are bundled with my installer and I need to access them from within a custom action. I have done some research and seen that the SourceDir can be used to obtain the currently executing dir location. However I cannot find any examples of how to obtain this property? Or another way to obtain the current dire...

Unpacking MSI in .Net

I have an installer that deploys web services to IIS. After this has finshed a custom action fires that updates the database with the scripts required by the webservices. The scripts are currently deploying to IIS aswell because they are part of the .net project. How can I configure the installation process so the scripts arn't part o...

Setting the INSTALLDIR programatically in InstallShield

I am trying to set the change the INSTALLDIR programatically in InstallShield v8.02 (cannot do anything about the version). My code crashes with an exception "Unknown error" on the third line of this code (C#) String originalInstallDir = testProject.get_INSTALLDIR(); String installDir = originalInstallDir.Replace("Company", "Company Te...

How to build native Mac OS X installer (on a non-Mac platform)?

How can I build a native Mac OS X installer for my application, on a non-Mac platform? For example, I have a windows pc and a Java application. I want the windows pc to build an installer (possibly inside a .dmg archive) that works with Apple installer. ...

Include another msi file in my setup project

Hi all, I'm trying to make a setup program for a asp.net web site. I need to make sure the target machine has sqlxml installed. I must verify the target machine has the software installed, and if not, launch a .msi file either before or after the main installation. I'm a complete newbie with setup projects so maybe this is obvious bu...

Anything like the Debian Package Manager for Windows?

I know that sounds a weird request. But I was installing a bunch of packages in Ubuntu yesterday, using apt-get and I started wondering if anyone had adapted it or produced anything similar for Windows. What I mean is a) an package manager / installer for Windows. And b) a repository of free-software packages in a compatible format. ...