setup

Dynamically include files in MSI setup

I am trying to deploy a bunch of files in a directory in my MSI setup. As the files will change frequently I don't want to add the files directly but rather have a way of automatically including all files from within a directory and deploy them to a certain location. I am using a Visual Studio Setup Project. Anybody know how/if this is...

IIS Launch Condition In Web Setup Project

Hi, I'm developing Web Setup for my .NET 2.0 web application with VS 2005, and it has some prerequisites (.NET 2.0, Sql Server Express,and Windows Installer). My question is :how to check IIS launch condition before prerequisites? ...

VS2008 Detected Dependencies - Versions

After building my project on two different machines, my setup project seems to inject microsoft_vc90_mfc_x86.asm dependencies with different versions. My local machine uses version 9.0.21022.8 while the build machine uses 9.0.30729.1. I've checked the Visual Studio versions and they are both 9.0.30729.1 SP. The build machine has some ho...

Error when upgrading or uninstalling application with Windows Installer

We have developed some applications which are installed with Windows Installer (MSI files). Some are installed for all users and others for the current user only. Sometimes users experience a problem when attempting to upgrade or remove the applications which were installed for the current user which causes Windows to pop up a message s...

Error URL for Prerrequisites Setup.exe Click Once VS 2008

Hi all, I have this trouble: I am using VS 2008 Team Suite, and I have WinForms csproj. I want Publish it using ClickOnce. In Publish Properties of csproj, I have these values: Publishing Folder Location (web site, ftp server, or file path): C:\ClickOnce\Frk.Security.CarWin.WebInstall\Publicacion\ Installation Folder URL (...

Installing DirectX with application MSI - VS2008

The application supports Windows XP, Vista, and Windows 7 but need DirectX libraries in order to work properly. I have the DirectX 9.0C Redistributable package and want to include it in my MSI installer created with a Visual Studio 2008 setup project. Two pronged question: How do I include the DirectX 9.0C package wiht my MSI? Will the ...

changes url of setup.exe (deploy ClickOnce) using Msbuild

Hi all, I use msbuild for using setup -url="location"... I publish application using ClickOnce and I want changes the url in the setup.exe. <Exec Command="$(PublishDir)\setup -url=$(ProviderUrl)" /> Another problem is that after using the /url switch to change out the URL, it appears message for manually confirming that the signatur...

setup Qt and PyQt on mac osx so my app can also deployable on windows

Hi, I've been coding with Python and C++ and now need to work on building a gui for data visualization purposes. I work on Mac Snow Leopard (intel), python 3.1 using gcc 4.2.1 (from Xcode 3.1) I wanted to first install Qt and then PyQt. And my goals are to be able to: - quickly prototype GUI and the accompanied logic that drives the GU...

Switch to the finish page in Inno Setup installation

I added a few custom pages to my setup. In one of this custom pages I do some checks. If this checks failed, I want switch to finish page. How can I do this? I can not do this with ShouldSkipPage event function because: function ShouldSkipPage(PageID: Integer): Boolean; begin // this will NEVER happened - see documentation below if...

WIX - Verify that file exists - and/or file-browser dialog/button

How do you create a "Browse" button in a WIX dialog. I currently have a custom dialog box with four radio buttons (Dev, QA, Stage, and Prod), and a text field for a filename. The install of course dies if the user enters a bad filename. I would be happy first of all just to verify that the file they entered exists. Secondly, I w...

MSI Setup: Deploy files to different locations

I'd like to deploy the files in my msi setup which I created with VS 2008 to different location. Some files (especially one) I'd like to move to one dir and the others to the TARGETDIR. Best would be if the user can define InstallPath AND a second Path for (in this case a mdf for MSSQL) other files. Is this possible? ...

Setup project not finding the dependencies of a project primary output.

In Visual Studio 2008 I've added a project's primary output to a setup project but the project's dependencies are not being found. If I look at the properties of the primary output the Dependencies property shows as (None). If I look a little deeper then I can find that the Dependencies property under the KeyOutput property has the proj...

Setting up a Microsoft development environment (Enterprise level)

I have tried this many times. Every single time I get some problem or the other - Management Studio Express setup tells me .Net Framework 3.5 SP1 is missing in Windows 7!! or unable to create user instance or, blend SDK didn't install properly or default settings of Visual Studio are screwed up or unable to remove visual studio, unable t...

What is the difference between the x64 and x86 library files in DirectX?

I recently got Visual Studio on a new computer, and to set up DirectX on it, I went to Tools>Options>Projects and Solutions>VC++ Directories and under Library Files made a new entry C:\Program Files\Microsoft DirectX SDK (August 2009)\Lib\x86 and now ran a test program (essentially just initialized DirectX) and it worked fine. However,...

C# .Net - deployment "very" custom application

We are working on deploying a very custom application. The application is the main program (and only program) that will run on the PC, but it depends on multiple 3rd party installers that must be installed via separate setup programs. Some of these are standard MSI, install shield, other outdated setups, etc. On top of that we must de...

how do I set up an iphone development certificate for ANOTHER mac

I went through the process of setting this up once, but now I need to make it so we can develop on two Macs with the one account. all walkthroughs tell me to create a signing request or something on the new Mac through keychain access, which generates some private and public keys BS, and then it says to go to the developer portal and "a...

CRON job for codeigniter

I am using codeigniter. I want to know how to set up a cron job to check a table for expiring users and insert data in to another table with the list of expiring users. How to do that. When i tried to write a script with controller and model to insert the table : Content-type: text/html Fatal error: Class 'Controller' not found in /h...

C# Install class isn't executed

I've made an simple installation class: [RunInstaller(true)] public class MyCustumAction : Installer { public override void Install(System.Collections.IDictionary stateSaver) { base.Install(stateSaver); string value = Context.Parameters["targetdir"]; throw new Exception("Contact?? " + value); Wr...

C# How to retrieve the checkbox value of a setup checkbox dialog?

In my setup project I have a checkbox dialog after the installation dialog. So when the installation is done a dialog appears with a checkbox on it. In my class I want to access this checkbox. How can I do that? In the checkbox dialog I have set the Property to CHKRUN. In my class I have overridden the methods: OnAfterInstall() OnComm...

How to install and run (setup) reddit.com on windows environment?

Hi Everybody!! Reddit.com is providing their code as open source and free. I want to setup the reddit.com website at my local machine in Windows Environment. Could anybody please help me or guide me to the best approach. Also, i have apache (WAMP) installed in my machine. Kindly somebody help, I have searched everywhere but unable t...