setup

How do I declare a shell command in .NET setup project, and launch it after (or before) product installation ?

I would like to launch a shell command after an installation made with a .NET setup project under VS2008, and another shell command before start an uninstall, always from .NET msi package. How can I do it ? ...

Removing setup projects from the build order

Hi, We have 15 projects in our development environment. Some are test projects, most are libraries, some are 'final' executables that can actually run, and some are setup projects. Most of the time, I only want to build those 'final' executables and their respective libraries, and let the setup project only be run when we're making ...

What to use for creating a quick and light setup file?

Hello, stackoverflowers: I am considering helping an open-source gaming project with creating their setup file. The game is currently weights around 300 MB and is packaged in a zip file, playable straight after it's unarchived. The zip file contains separate executables for Windows, Mac, and Linux as well as compressed data files that a...

Is there a way to automate Microsoft Learning Gateway setup?

Hi Guys, after attending a mind numbing three days workshop on MLG, what i noticed is that 90% of the time is wasted on just configuring the setup for each components for MLG, namely the sharepoint, isa, exhchange, active directory etc. as a developer and a big fan of automation, i see all this tedious task as brain cell destroying acti...

Shoes and Gems

I have shoes raisins (0.r1134) [i686-darwin8.9.1] +video I'm trying to set up a Shoes.setup block like this: Shoes.setup do gem 'mini_exiftool' gem 'xml-simple > 1.0' require "mini_exiftool" require 'xmlrpc/client' require 'xmlsimple.rb' require "my_webservice_api_wrapper" mwa = MyWebserviceApiWrapper.new mwa.login ...

What are some standard setups people are using to work with GitHub?

In other words, how do people work with Git? I just finished uploading my first project and it was far from being a straightforward task, anyway once the thing is up and running what would be a good configuration? I cannot see how people could rely on the GitGUI or command line for their professional development work or worse code stra...

How do I perform certain actions in InstallShield in all situations other than a repair?

I've configured an InstallShield setup to delete certain VDs from IIS right before the InstallFiles action. The code is being called within the "OnInstallFilesActionBefore" event. This works fine, except that I don't want the VDs to be removed if the setup is repairing. I've found this page which lists the possible events; however, it s...

ASP.NET Website installs/updates

I am looking for some ideas on how to offer a installation package for my ASP.NET website. Some things I need to be able to do is read/write Registry keys, get the database(s) information and test the connection and I must be able to overwrite the existing website without an uninstall and update the web config on new versions. I do not w...

Is it OK to add a Condition to a core InstallShield Custom Action? (like OnInstallFilesActionBefore)

I added a condition to the OnInstallFilesActionBefore Custom Action via the Sequences editor. I made it so it only executes the first time you install the setup, which means my condition is: Not Installed I'm now seeing this warning logged when compiling: ISDEV : warning The condition for Custom Action OnInstallFilesActionBef...

How can I fix LINQ dependency issues with a VB.NET deployment?

I have a program that contains .dbml files. I created this file with Server Explorer. I want to execute this program on other computers but I seem to be having issues with dependencies because I use LINQ. How can I fix this? ...

Python distutils, how to get a compiler that is going to be used?

For example, I may use "python setup.py build --compiler=msvc" or "python setup.py build --compiler=mingw32"or just "python setup.py build", in which case the default compiler (say, "bcpp") will be used. How can I get the compiler name inside my setup.py (e. g. "msvc", "mingw32" and "bcpp", respectively)? UPD.: I don't need the default ...

InstallShield PackageForTheWeb compatibility

Is the classic InstallShield PFT 4.00 wrapper still working with modern OSes, one customer reported an error and I am not sure if its related to PFT: "program is not a valid 32 bit program." This is system information: Microsoft Windows XP Media Center Edition Version 2002 Service Pack 3. 2.8 Ghz 1GB RAM PFT wrapped setupper works n...

How to detect whether I need to install VCRedist ?

I have a question very similar to this one but the answer does not work for me. Software I am maintaining the setup for depends on VC++ 2008 (SP1, precisely), thus I need to find a solution to install VCRedist if not yet installed. I understand the correct way would be to build msi with merge modules, but it's not on my hands. The answ...

Wait for setup project to close .Net

My end result is that I want to launch another setup project after the first setup project closes. The problem is that since setup.exe is just a wrapper for the msi package. WaitForExit is quitting when the setup.exe is finished and not foo.msi. Using Process As New System.Diagnostics.Process Process.StartInfo.FileName = "setup....

Visual Studio: default settings

We have many developers here using MSVC 2008 and I want to standardize the Visual Studio settings and project setup. In particular, I want: 1) All of the settings in the Tools -> Options to be the same (especially the tab settings!) 2) We have a source repository where we have a shared folder. The shared folder has header files/code th...

How to set up ODBC 10.1b for Progress DB

I'm trying to set up an ODBC client driver for Progress 10.1b. I was able to install the client software that is required, but there is apparently also an ODBC.reg script file that needs to be run to correctly set up the registry in order for me to use the ODBC drivers. Can anyone point me to where I would find this script? Or tell ...

Visual Studio Setup Project with all files from a folder

We have a setup project that currently adds Project Output's from different visual studio projects. We want to change the packaging system and use a folder with a bunch of deploy files that are prepared for deployment in the setup. But this means that we need to add the files one by one, and keep adding them on each version when there ar...

Running setup project (built in .NET) with admin privileges

Hi I have created setup project in Visual Studio 2008. How do I run this setup with admin privileges - I have tried Right-Click, run as administrator. Vista does not prompt me for password. Am I missing something? PK ...

Setup targeting both x86 and x64?

I have a program that requires both x64 and x86 dlls (it figures out which ones it needs at run time), but when trying to create a setup, it complains: File AlphaVSS.WinXP.x64.dll' targeting 'AMD64' is not compatible with th project's target platform 'x86' File AlphaVSS.Win2003.x64.dll' targeting 'AMD64' is not compatible with th project...

Getting location of setup.exe in custom action

Hello, C# 2005 I am using a installer class as I need a custom action that will read in a xml config file. So when the user double clicks the setup, there will be a config.xml file in the same folder. I would like to read in this config.xml file on install event. The folder will contain setup.exe and config.xml However, it can't fi...