installer

Where do OSX applications typically store user configuration data?

I've noticed on OSX, installation is frequently a drag and drop one file kinda deal. I assume that file is an archive of all the applications necessary bits and that the application runs directly from it. Where does the application store configuration data, particularly per user settings when there are multiple users? On Windows, this...

Install Shield 2009 - Shortcuts creation

Is it possible to create shortcuts in Install Shield 2009 based on user input? In essnes, a shortcut will be created (on the desktop) only if the user (who runs the installation) wants to do so ...

.NET Program Keeps Installing Old Version

I'm having a rather annoying and time consuming problem with a .NET program. Our clients all use a piece of software we wrote in Visual Studio 2005 (running .NET framework 3.5). The application is a setup project that gets its files from another project. The problem is that whenever I do a code change and upload the new version to the...

How to write c# service that I can also run as a winforms program?

I have a windows service written in C# that acts as a proxy for a bunch of network devices to the back end database. For testing and also to add a simulation layer to test the back end I would like to have a GUI for the test operator to be able run the simulation. Also for a striped down version to send out as a demo. The GUI and service...

Sample Request: <msi> task of nant-contrib

Can anyone please provide me a sample build file demostrating the use of the task of nant-contrib for creating an installer of a web application project. ...

Document icon changes after first launch on Windows

I have an application that gets installed with a Wise installer (EDIT: Wise creates a Setup.exe file, not an MSI). Upon installation, an icon is set for a certain file type: HKEY_CLASSES_ROOT\.auz\DefaultIcon = C:\Path\To\App\some_icon.ico,0 Right after the installation, however, Explorer chooses to display this icon using the generic...

How do you distribute a .NET application?

Before I start developing a desktop application, I was wondering how large the installer will turn out to be if I build it in .NET? Now .NET probably is 5 years old. Do we still have to include the run time with the application? Or can we assume that most user will have it installed on their system? Does Vista ships with .NET pre instal...

Why is Visual Studios Installer not picking up dependencies

I'm using Visual Studio 2005. I have a program written in C#. When I create the installer and then add the primary output, it's not picking up any dependencies. Not even .Net. Anybody have any ideas? ...

windows installation hang

How can I find what's hanging all new installations on a Windows box? While testing an installation script on Windows (XP Pro, if it matters) I've run into a situation wherein any and all attempts to install anything on the system hang waiting on who knows what. When the system is restarted, all queued up attempts at installation then g...

Getting currently logged on user when running as admin

I've written an installer using NSIS and I need it to install some files (DLLs etc.) in a standard location like C:/Program Files/App Name/. I also need to install files in the current user's Application Data directory. The problem is that when the user is not an admin on Vista I need to elevate privileges and in doing so the environment...

Ant automation of InstallAnywhere installers - console mode

My problem is to create an ant target for automating our installer running in console mode. The installer is created using InstallAnywhere 2008, which UniversalExtractor recognizes as a 7-zip archive. Once I have the archive unpacked, it appears that the task can use an input file to drive the console (at the very least, it appears th...

Why is selfregistration bad?

Assuming self-registration is used to install components as part of a larger installer program, why is self-registration bad? E.g. self-registering vb custom controls or capicom or whatever. I acknowledge that self-registration is probably not as safe in the case of a dll you wrote yourself, but I'm not discussing those. The MSDN lists...

INNO Setup: How to implement file update based on different versions of the application

I have an application written in Delphi that has several versions that contain binaries and database (MDB) with catalog data. During the product life cycle fixes/enhancements are either in database file or in some binary files. Version are preserved in Registry. Users might have different versions of the program when new patch is ava...

Create RPM package from ANT script under Windows

I need to create an RPM package from an ANT script that runs on a Windows computer. This package must contain the result classes from the build plus some other, additional resources. I guess there should be some program somewhere that can be invoked from the command line to create this package. The reason why I want to do this under w...

PowerShell Windows Installer Com Object

Hello, I'm trying to modify the contents of an MSI file using Powershell. To do so I create an instance of a WindowsInstaller.Installer then use $installer.OpenDatabase and $database.OpenView. Similar functionality works in VBScript and I've seen samples on-line that appear to work. $installer = new-object -comobject "WindowsInstalle...

How do I eliminate "The specified service already exists" when I install new versions of my software?

I have a VS2008 application that includes a service project (I'll call it ServiceProject). I have the installation project (InstallationProject) set to RemovePreviousVersions. Additionally, I have Custom Actions set for InstallationProject, to Install, Commit, Rollback, and Uninstall the Primary output from ServiceProject. Sometimes...

Determine if flash OCX is installed?

What is the best way to determine if the flash ocx is installed in Innosetup (or any installer for that matter). I don't want to attempt to install it myself, I will simply force the user to go to the flash site and install, I just want to make sure that the flash.ocx (version 9+) is installed. Is it enough to check for HKEY_CLASSES_RO...

Creating a dual Mac/Win Autorun CD

How do I create a CD that opens a "Drag this icon to the Application folder to install" on the Mac and autoruns an installer on Windows? ...

How can I prompt the user to reboot in a .net installation?

I have an easy one for the install ninjas. I'm using Visual Studio 2008 to write an installation and I'm a complete newbie when it comes to installations. I've created an installation and successfully written some custom actions using a C# assembly. One action sets a RunOnce registry value, and now I need to prompt the user to reboot whe...

How to make better use of MSI files.

As you might know, msiexec is a command line app that you can use to install an MSI file. As you might know, you can run it in silent or invisible mode. My question is this. If the installer requires the user to answer specific questions about what parts to install, is there some way that I can put in the msiexec command line a ser...