Commits

Christian Specht committed 8794181

put version number stuff in separate file (only one file to change)

Comments (0)

Files changed (4)

-set productversion=1.0
+@echo off
+
+rem set version number (see batch file for more details)
+call wix\version-number.bat
 
 del /q release\*.*
 

wix/readme.txt

-How to release a new version
-####################################################################################
-
-1. Increase the version number in Create Setup.bat in the main folder
-
-2. Find this line right at the beginning of the roboshell-backup.wxs (in this folder) and replace the GUID by a new one:
-<?define ProductId = {E00ADE45-F382-47C5-B6C2-647715412338} ?>

wix/roboshell-backup.wxs

 <?xml version='1.0'?>
 <Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
 
-<?define ProductId = {E00ADE45-F382-47C5-B6C2-647715412338} ?>
+<?define ProductId = $(env.ProductId) ?>
 <?define UpgradeCode = {8D141C50-035C-4657-91DA-B264C3023032} ?>
 
 <?define ProductName = RoboShell Backup ?>

wix/version-number.bat

+rem Before releasing a new version, please change BOTH values as described below
+
+rem This is the version number for the setup. Just increase it.
+set productversion=1.0
+
+rem Replace this GUID by a new one. Important: must be in capital letters and with curly braces!
+set ProductId={E00ADE45-F382-47C5-B6C2-647715412338}