Adding Custom prerequsites to visual studio setup project

I figured out how to add Custom Prerequisites to the Visual Studio prerequisites dialog box. MSDN as a good article on creating the prerequisite. Basically you just have to create a product manifest and a package manifest, copy them along with your distributable file to : \Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages. Visual studio will automatically pick it … Read more

How to uninstall with msiexec using product id guid without .msi file present

“Reference-Style” Answer: This is an alternative answer to the one below with several different options shown. Uninstalling an MSI file from the command line without using msiexec. The command you specify is correct: msiexec /x {A4BFF20C-A21E-4720-88E5-79D5A5AEB2E8} If you get “This action is only valid for products that are currently installed” you have used an unrecognized … Read more

Build NSIS script as a MSI package

Unfortunately, No. NSIS lets you create scriptable, procedural installation packages. It’s simple, easy to use and has a number of features not present in Windows Installer. Windows Installer (MSI) creates database driven, transactional installation packages. When written properly a Windows Installer package is very robust, a file gets corrupted/deleted and it will be automatically reinstalled. … Read more

Is there alternative way to access session details in deferred custom action?

This must be helpful. Pay special attention to the bottom of the page, a guideline of 2 steps how to pass values via CustomActionData. Here is the excerpt: To write the value of a property into the installation script for use during a deferred execution custom action: Insert a small custom action into the installation … Read more

WIX: Howto set the name of the msi output file dynamically

You could update the OutputName of your .wixproj and use an MSBuild variable to pass through the version number or any other variable you like. My build script looks like this: set PRODUCTVERSION=7.1.0.1 MSBuild.exe /p:Configuration=Debug /p:ProductVersion=%PRODUCTVERSION% Installer.wixproj And my WiX project looks like this: <?xml version=”1.0″ encoding=”utf-8″?> <Project ToolsVersion=”4.0″ DefaultTargets=”Build” xmlns=”http://schemas.microsoft.com/developer/msbuild/2003″> <PropertyGroup> <Configuration Condition=” ‘$(Configuration)’ … Read more

How to create a high quality icon for my Windows application?

Thanks for all the suggestions! After much trial and error the real problem here seems to be the Visual Studio 2008 Setup Project – manually setting up a link to my executable correctly uses the high resolution icon, however the link that is created by the setup doesn’t use the correct icon. When setting the … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)