How to automatically uninstall previous installed version in Inno Setup?

I have used the following. I’m not sure it’s the simplest way to do it but it works. This uses {#emit SetupSetting(“AppId”)} which relies on the Inno Setup Preprocessor. If you don’t use that, cut-and-paste your App ID in directly. [Code] ///////////////////////////////////////////////////////////////////// function GetUninstallString(): String; var sUnInstPath: String; sUnInstallString: String; begin sUnInstPath := ExpandConstant(‘Software\Microsoft\Windows\CurrentVersion\Uninstall\{#emit SetupSetting(“AppId”)}_is1’); … Read more

After installing “Visual Studio Extensions for Windows Library for JavaScript” update, it still appears as an available update

Try this workaround: http://connect.microsoft.com/VisualStudio/feedback/details/847258/vs2013-keep-saying-windows-library-for-javascript-needs-updating-1-0-9651-40228 Get “msiinv” from here: http://blogs.msdn.com/b/astebner/archive/2005/07/01/using-msiinv-to-gather-information-about-what-is-installed-on-a-computer.aspx Run msiinv.exe -p > out.txt Open “out.txt” and find “Visual Studio Extensions for Windows Library for JavaScript”. There should be two of them, one with version 1.x and second with version 2.1. Lookup the product code for v1.x and uninstall it using msiexec /x. For me, … Read more

How do I create a custom dialog in WiX for user input?

Have fun with UI! Edit: The original link to answer doesn’t exist anymore. FireGiant (the maintainers of Wix) some examples for part of this process, but it’s doesn’t completely answer this question. There is one further tutorial (UPDATE Aug.2018: Link resurrected from Wayback Machine) that does go most of the way to answer this question. … Read more

Setting up Redis on Webfaction

Introduction Because of the special environment restrictions of Webfaction servers the installation instructions are not as straightforward as they would be. Nevertheless at the end you will have a fully functioning Redis server that stays up even after a reboot. I personally installed Redis by the following procedure about a half a year ago and … Read more

How to associate application with existing file types using WiX installer?

Here’s a full, complete example with a bit more detail and cleaner code than in the linked question and should provide a better answer. Quite timely as I’ve recently finished porting the code posted previously, to use proper ProgId elements so this is fresh in my mind 😉 In regards to the ‘what here’, you … Read more

Programmatically extract contents of InstallShield setup.exe

There’s no supported way to do this, but won’t you have to examine the files related to each installer to figure out how to actually install them after extracting them? Assuming you can spend the time to figure out which command-line applies, here are some candidate parameters that normally allow you to extract an installation. … Read more

How to create a desktop icon with Inno Setup

In [Files] section, you install your giotto.ico to the application folder (you may want to install the icon only when the desktopicon task is selected). In [Icons] section, you create the desktop icon using the installed giotto.ico (when the desktopicon task is selected). #define SourcePath “C:\Users\PycharmProjects\GIOTTOconverter\dist” #define MyAppName “GIOTTO” #define MyAppExeName “GIOTTO.exe” #define MyAppIcoName “giotto.ico” … Read more