How to implement WiX installer upgrade?

Finally I found a solution – I’m posting it here for other people who might have the same problem (all 5 of you): Change the product ID to * Under product add The following: <Property Id=”PREVIOUSVERSIONSINSTALLED” Secure=”yes” /> <Upgrade Id=”YOUR_GUID”> <UpgradeVersion Minimum=”1.0.0.0″ Maximum=”99.0.0.0″ Property=”PREVIOUSVERSIONSINSTALLED” IncludeMinimum=”yes” IncludeMaximum=”no” /> </Upgrade> Under InstallExecuteSequence add: <RemoveExistingProducts Before=”InstallInitialize” /> From … Read more

WiX tricks and tips

Keep variables in a separate wxi include file. Enables re-use, variables are faster to find and (if needed) allows for easier manipulation by an external tool. Define Platform variables for x86 and x64 builds <!– Product name as you want it to appear in Add/Remove Programs–> <?if $(var.Platform) = x64 ?> <?define ProductName = “Product … Read more

“Automatic” vs “Automatic (Delayed start)”

In short, services set to Automatic will start during the boot process, while services set to start as Delayed will start shortly after boot. Starting your service Delayed improves the boot performance of your server and has security benefits which are outlined in the article Adriano linked to in the comments. Update: “shortly after boot” … Read more

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