installer

how to copy files to C:\temp in VS 2008 setup project?

I am learning use VS 2008 setup project to create MSI installer for our C# application. The target system is Windows 7 embedded. Did some research online and couldn't find answers. Because the application will be installed on Win7 machine. We need to put some files in C:\temp folder for read and write. how can I copy those files into C:...

.NET (C# ) Install Project. Including other packages problem

Hi, folks. I've created a setup project in VS2008 which installs fine by itself. However projects being installed by this installer depend on components (mainly speaking ESRI) which must also be installed on target machines. There is a separate installer for ESRI that we have and it consists of msi srcipt as well as 6 folders with subfol...

Non advertised filetypes

Hello, When I create an msi using VS2010, the shortcut and filetypes are all getting created as advertised. I am able to disable advertise property for shortcuts by setting DISABLEADVTSHORTCUTS. However, the filetype is still advertised. How can i disable advertise for file types? Thanks, SAN ...

Tool or Best practice for installing a database with a client application

I have come up with 2 methods for installing a local database with my WPF application: Create a backup of the DB, then restore in the installer via SMO Script the database install and execute it via ADO or osql.exe I'm required to provide an upgrade path, rather than just dropping the currently installed databases. Are there other m...

Install solution for repackaging thrid party software

We have a suite of software solutions developed by a third party which are branded under our company. Using their tools we create our own XML scripts, which are used by their software, to do various things which make up the application the end user interacts with. The software consists of several directories and several hundred files (e...

Advantages/disadvantages of building one huge jar as opposed to several smaller?

I have seen programs like http://one-jar.sourceforge.net/ and http://fjep.sourceforge.net/index.html promote rolling your application jar and any dependencies into a single, executable jar. What are the main reasons for/against doing this? ...

how to handle temporary files/folders of VS setup project?

Still learning create MSI installer with VS 2008 for our C# application. We have some batch files to create database and tables, after installation we want to delete it because there are sensitive information on them (username, password, ...). My questions are like those: where should I put those temporary folders/files? (doesn't matte...

Can anyone provide a good "idiot's guide" to creating an installer in VS2008 (C#) Pro?

I have Visual C# 2008 Professional and have developed the first half of a C# application (console mode) with the second half in progress now (GUI). I'm looking for an easy path to creating an installer for it. What are the steps that need to be taken to produce a professional installer? There's a similar question here regarding the Exp...

How to create 32bit or 64bit only installer with Installshield 2010?

I mean doing this in a InstallScript project so the installer would exit in the first place if it's not running with correct processor type. I found it'll be easy if it's a InstallScript MSI project, just modify the "Template summary" field, while this options is not there in InstallScript project. I have some requirements which could ...

why WaitForExit() doesn't wait?

i am adding Custom Action into my VS2008 setup project (MSI installer). I am calling a batch file to create database and want to delete those files after. I have WaitForExit() but it will not wait. Why? ProcessStartInfo startInfo = new ProcessStartInfo(); startInfo.UseShellExecute = false; string tem...

what's the tricky to delete temp folder in the installer?

I am creating MSI installer via VS 2008. I try to delete the temp folder at the end of the installation. That temp folder is created by my installer to hold some batch files for database creation. It always show other process is access it and doesn't allow my code to delete it. I have called the Close() of that access process. I have put...

Files in RemoveFile table don't get removed during Patch

Hi, I am releasing a new version of my product (minor upgrade), which I'm planning to package as a patch. This is a Basic MSI project in InstallShield 2009. The installer creates some shortcuts on the desktop and in the All Program menu, this shortcuts make a reference to the version number, e. gr. "My Product 7.3", "My Product 7.3.2"....

Renaming config files with Visual Studio setup project

My applications have a handful of config files, each one particular to the machine it's being deployed to (dev, production, etc.) I'm wanting to add them to the setup project, use radio buttons to select one and then have a script (or maybe custom action?) rename the selected files to connectionStrings.config, settings.config, etc. Is t...

Changing Default Installation Folder of Visual Studio 2005 Setup

I have created a windows service using Visual Studio 2005. I have created a setup project that would install my application. Now, the default installation folder is always c:\program files\Default Company Name\XXXX. Where can I change this to be something else on startup. Basically, I want the Default Company Name to be removed. Thanks...

Installing C++ Boost library on Windows without Visual Studio

I would like to install Boost library without the need of Visual Studio compiler, preferably by downloading the pre-compiled binaries. We are working on a cross-platform C++ project in Eclipse, so VS is out of option. About a year ago, I found an installer, but it does not longer exists. The best match I have found so far is from: http:...

Best installer to integrate with TFS2010+MSBuild

So it looks like Microsoft's installer projects don't build with MSBuild. Which is what we are using with TFS2010. This means that that my dream of check in the code, continuous integration build-> installer are currently doused. I know people out there are doing it, so they must be using some other installer tech. I noticed VS2010 now...

Retrive msiexec error code from script

Hi, I have 2 problems that i need help with: I need to create a script to get the (error/success) code of an installation with msiexec. Any resources, examples about this? If my WIX Custom Action fails how can i return an error code for the installation? Any examples? Thank you, Adrya ...

Msi: Can dword values in Registry Table expressed in hexadecimal number?

Preceding registry value data by a number-sign (#) causes the value interpreted as a dword in decimal number. This is OK and I have no problem with it. I'm just curious, is there a way to express it in a hexadecimal number. Thanks in advance. ...

Ruby on Rails installation error on Ubuntu

Hi I am a newbie to rails. I just started learning Ubuntu, I am using version 10.04 especially to work on rails and use feedzirra in my college project. I am getting the following error. Could you please help. anergroup@ubuntu:~/ruby$ ruby -v ruby 1.8.8dev (2010-10-01) [i686-linux] anergroup@ubuntu:~/ruby$ rails -v Rails 2.3.8 The l...

Assembly added to the installer but still not work

our C# application has a thirdparty C++ exe which requires Microsoft_VC90_CRT assembly. I have add that assembly in my msi installer which is built by using VS2008. It looks like that assembly is still not available to our application. Is there any special step I need to do when I build my installer? or it is the wrong version of the a...