installer

Don't you think writing installer programs could/should have been simpler?

I recently had to struggle with one installation project (which uses most popular product for creating installations: InstallShield) to make it work for product upgrades (migrating from one version to another). In the end it turned out that I needed to use one long package code but was using some other. It wasted my 8 hours (testing and ...

Using PackageMaker to run a script on install

I have an app I need to create an installer for, and all the installer needs to do (besides copying the app) is run a script (or executable) that is not part of the app itself. Any help on how I can do this? I see in the Requirements tab there is a Results of Script action, and there is also the Preinstall Actions in the Actions tab whic...

Multiple Windows Services, One Installer, Removing Dependencies

I have a single service installer project that installs multiple services. This is great but a single unhandled exception in any single service will stop all services that were installed by this installer. The code for the installer looks something like this ServiceBase[] ServicesToRun; ServicesToRun = new ServiceBase[] { new Servi...

ServiceProcessInstaller fails with "No mapping between account names and security IDs was done"

I have an installer class using ServiceProcessInstaller. In the installer class in the constructor I add it to installers: serviceProcessInstaller = new ServiceProcessInstaller(); serviceInstaller = new ServiceInstaller(); // Add Both Installers to Project Installers Collection to be Run Installers.AddRange(new Installer[] ...

How to add additional files to adobe air installer?

I've created an AIR application, but it uses an external SWF for extra functionality. I want that SWF to be included in the install, but currently it's not. Is there anyway I can get FlexBuilder or any other tool to include this extra file in the installer? I've tried manually adding the file (as a .air file is just a zip file in disguis...

make Installer metapackage to require SIMBL?

Using PackageMaker, how do I make a .(m)pkg that will require that SIMBL is installed - if it's installed, the installation should simply proceed, otherwise, SIMBL should be installed before installing my SIMBL plugin? I tried simply dragging in SIMBL.pkg to the left-hand pane, but somehow all the resources and InstallationCheck script ...

Used Web Platform installer to install the MVC Framework but the MVC template isn't available

I just installed Visual Web Developer and the MVC Framework using the Web Platform installer, I used the ASP.NET option and it says that MVC is installed, but it doen's show up in the templates list when I open a new project. I installed in Windows XP with a limited user (typed the Administrator password to allow the install) I guess th...

vc++ install creator

VC++ 6.0 Project After Completing my project i created the project EXE ,using Create Installer, But the problem is without vc++ 6.0 software the EXE project it will not execute , it shows error: This application has failed to sart because MFC42.DLL has not found,Re-installing the application may fix this. When i insatll vc++ 6.0 sof...

What DBMS is appropriate for keeping a schema private even when installed 'in the wild'

I have an application server which connects to a database server. I would like to be able to supply users with installers and, with a moderate degree of comfort, trust that the database schema is secure. I understand that there are some risks that I will just have to accept with not controlling the computer on which it installed - a de...

Can you create a setup.exe in qt to install your app on a client computer

Hello, I have created a desktop app and now I need to install in on a client's computer. However, the client would like to have a wizard to install. Like they have in visual studio setup project allows you to add an installer. Does qt allow you to create an installer? I couldn't see anything in the documentation. Or do I need to use ...

How can I change source folders en masse in Wise Installation Studio?

I've got an existing Wise .wsi script that I would like to convert to using relative paths, but the problem is that it includes about 330 files and the only way I've found to fix the paths are to go into each file's Details and adjust the path manually (from Installation Expert: Files screen, right click and select Details). Am I going t...

Capturing all the data that has changed during a Linux install

I am trying to figure out which files were changed when I run an app install via make install. I can look at the script, but that calls other scripts and may or may not touch other files, etc. How can I do this programmatically? ...

Clickonce - How to add an image to installer?

Is it possible to change the GUI of a Clickonce installer? To add a custom image for example? ...

Questions about using the Background Intelligent Transfer Service

I have a few questions in regards to using the Background Intelligent Transfer Service (BITS) as a scheme to add auto-updating capabilities to a windows application. 1 - If a user disables the Windows Update process, does Windows disables BITS? 2 - How does BITS interact with firewalls (hardware and software)? For example, I install ...

MSI does not install all files when RemovePreviousVersion is run

I have a MSI build using WiX version 3. All previous installers for the product we are deploying worked fine with the configuration specified (that is: if previous version exists, remove, then install the new version) - however, the new MSIs we build don't install all files when it runs through the 'remove first' path. If we manually r...

How can I change the username/password of an ApplicationPool in IIS from C#?

I am using the code below to create a new application pool in the Installer class of my application: private static void CreateAppPool(string serverName, string appPoolName) { // metabasePath is of the form "IIS://<servername>/W3SVC/AppPools" // for example "IIS://localhost/W3SVC/AppPools" // appPoolName is of the form...

How can I look up IIS site id in C#?

I am writing an installer class for my web service. In many cases when I use WMI (e.g. when creating virtual directories) I have to know the siteId to provide the correct metabasePath to the site, e.g.: metabasePath is of the form "IIS://<servername>/<service>/<siteID>/Root[/<vdir>]" for example "IIS://localhost/W3SVC/1/Root" How can...

How can I programmatically check in a C# installer class if IIS supports Application Pools?

Hi, I am writing an installer class in which I am creating a new Application Pool. This obviously is not going to work on IIS <6.0. How can I safely check (programmatically in .Net) if IIS supports application pools before I try to add one? ...

How can I delete IIS objects from c#?

I need to delete a Virtual Directory and Application pool from .NET as part of my uninstall method. I found the following code on the web somewhere: private static void DeleteTree(string metabasePath) { // metabasePath is of the form "IIS://<servername>/<path>" // for example "IIS://localhost/W3SVC/1/Root/MyVDir"...

Why is my Uninstall method not called from the msi?

Hi, I am writing an installer for my web app and I struggle with the uninstaller part. Despite the fact that I created a custom action on Uninstall in my Application Setup Project, the InstallerClass is set to true, the method: public override void Uninstall(IDictionary savedState) { //MessageBox.Show("Attach debugger!", "V...