installer

How to get rid of annoying InnoSetup folder selection mechanism?

When I set: DefaultDirName={pf}\My program in InnoSetup .iss file, it starts directory selection with this path correctly. However, if user press 'Browse' button and start navigating through filesystem, InnoSetup keeps 'My program' suffix at the end of path chosen by user. How to get rid of this? ...

.Net: Adding files and folders to SETUP Project programmatically

So, here is the scenario: I want to create a installer which would just dump few files and folders at a location specified by user. But the problem is these files are required to be picked up from a fixed source folder and then the installer is build. Also, these files may change any time and then again a new version of t...

Special Folders

I'm copying some files to a special folder when installing. The SpecialFolder path depends on for how the user choosed to install the app: 'Everyone' or 'Just me'. From C# code I get the special folder path using Environment.GetFolderPath() method but this method always return the special path of the current user. If the user installed ...

windows Installer that is resticted to X times

I need a windows installer that can install my program only X number of times. Say 10 or 20 or a defined number I set. Then the installer ceases to operate or can give a message to contact my company. Ed ...

What changes do I have to make to a .NET 2.0 Application so that it installs and runs fine on Windows Server 2008

I get CLR20r3 error and very non-descriptive messages. I tried making an installer as well as used click once to deploy the app onto the server but failed both the times. Is there a set of steps that we have to go through to target 2008 server deployments? Here is the error message : Description: Stopped working Problem signature: ...

How do I Create a link to an executable Installed by Visual Studio Setup Project

I am working on a visual studio setup project. I want the setup project to install the executable for a windows forms project, and then put a link to that executable in the Programs Menu on the target machine. In the Setup Project I clicked 'Add'-> Project Output... and selected the Primary Output from my WindowsForms App. So that should...

Why close all other applications before running installer?

Most windows installers includes a recommendation that you "close all other applications before continuing". I can imagine this may have been necessary in old versions of windows. And it may be for a small number of installations now. But surely it isn't needed for most installs. Is it? I'm creating an installer for my own (pretty simpl...

Install sql express 2005 and backup database on application install

Hi I have a c# wpf application that requires SQL Express 2005 database and I want to deploy Sql Express with my application. So I googled but didn't find any valuable information how to create an installer that will 1. install Sql Express 2005 and 2. restore my backup database before my project installetion? I have tried to inst...

InstallLocation is not written using standard installer?

I'm trying to get an application to pass the Windows 7 Software Logo Toolkit tests. Everything works, just one part does not: The Toolkit test warns that my installation does not set the InstallLocation of my program. I use the standard installer coming with VS2008SP, and I can't find no way to set the InstallLocation. I thought the in...

Installation package contains unsigned files (windows 7 logo test)

I'm trying to get an application to pass the Windows 7 Software Logo Toolkit tests. I thought I'd be finished by now, but the Windows 7 Software Logo Toolkit found one more problem to report to me. It complains about an unsigned file in my installation package, namely: Non-driver file c:\users\root\appdata\roamind\microsoft\installer...

Visual Studio Install Project: Get Target Directory

I've been digging around Google trying to find the appropriate way to determine the installation path selected by a user from the install wizard. Basically I'm running into an issue where my service can't create files in it's own directory because it lacks the proper permissions. I'm assuming the correct way to resolve this is to make s...

How to install and setup a database with .NET?

I am currently working on a project that include the use of SQLServer. I would like to know what strategy I should use when I install the software to build the database? I need to set up the tables, the stored procedures and the users. Does my software need to make a check on start up to see if the database exist and then if it doesn't...

bitrock installBuilder issues

I have recently been tasked with finding a suitable installShield replacement and I am leaning towards InstallBuilder over Install4J and InstallAnywhere. Has anyone come across any issues with creating installers that installBuilder has been unable to handle? For example very strict security on the client machine. *Comment added for a...

Why do renamed or moved application shortcuts in the Start Menu get recreated whenever the application is started?

This is happening with my applications that I create using VS2008 and the built in deployment project to create MSI installers. It goes like this: Install the application, which creates a shortcut on the desktop and a start menu folder containing a shortcut to the application. Pretty normal stuff... Rename the start menu folder (usua...

Cross platform installer for Qt

I'm trying to find a cross platform installer for small Qt applications. It looks like the most popular (powerful ?) is BitRock Install Builder, but as the installer will be used in a school (I'm a teacher), I'm looking for a free/open source solution. I'd like to generate an installer for a simple application on Windows, Mac and Linux...

Running an executable on network share with CustomAction with wix?

Hello, i have created a msi-package which compresses some xml-files to a zip-file during installation. I have created a CustomAction for this purposes: <CustomAction Id="CompressMy" BinaryKey="zipEXE" ExeCommand="a -tzip &quot;[TEMPLATE_DIR]my.zip&quot; &quot;[TempSourceFolder]data.xml&quot;" Return="check" HideTarget="no" Impersonate=...

Windows7 Installer takes priority how to move it back during installation using C#?

I've a custom Action on Deployment project of .NET Applicaiton, which contains custom dialogbox to enter certain parameters, on invalid parameters I've shown MessageBox.Show - but its being hide by installer window, I tried windows forms too with Activate, TopMost, Focus,bring2front, etc serveral options but it comes by default behind th...

OpenOffice.org headless installer

Hi! I use OpenOffice.org only for PDF generation in my project, but my users have to download the whole OpenOffice package if they want to use the software. Is there any Ooo installer which only installs a headless Writer, and wich has a minimal installer which dont includes the other unused components (UI, Impress, etc.)? ...

VS Setup Project Windows service questions

My setup project installs a windows service. Right now this action is in the Install category. Would the commit category be a better location for it? I've added a custom action to remove the service in the Uninstall category, but when I run the uninstall, the user is prompted to shut down the service. As the user should never really kno...

How do I abort a Setup Project install from a WPF custom action dialog?

I have a WPF window that is shown as a custom action as part of my VS Setup Project installation. This works well, but I can't figure out how to inform the installer if the user presses the cancel button on the dialog that I'm popping up, so that it rolls back the install. Is there a way that my dialog can provide input to the installer...