This readme describes how the .msi installer is created for Brackets on Windows.
- grunt installer
Normally, the installer scripts are run via Jenkins on our build machine. These are instructions for setting up a new build machine:
- Download Ant; unzip it into a path (ideally a path with no spaces -- see below)
- Download & install a JDK (the full SDK, not just a JRE)
- Set
ANT_HOME
to the path to Ant. Must not contain spaces -- if target dir does have spaces, use the DOS-style path mapping (e.g.c:\progra~1\...
) - Set
JAVA_HOME
to the path to Java. Must not contain spaces -- same as above. - Add
%ANT_HOME%\bin
to the PATH - Download & install Wix 3.5
- Get the MsiTran.exe tool:
- Option A: If you have Visual Studio installed, look in C:\Program Files\Microsoft SDKs\Windows\v??\bin to locate it
- Option B: Follow the instructions here to download the Windows SDK ISO and extract just the bit you need
- Option C: Download the full Windows SDK online installer. On the "Installation Options" screen, uncheck everything but "Win32 Development Tools"
- Copy it to (wix-install-dir)\bin
- Get the WiSubStg.vbs and WiLangId.vbs scripts:
- Option A: Follow the instructions here to download the Windows SDK ISO and extract just the bit you need
- Option B: Download the full Windows SDK online installer. On the "Installation Options" screen, uncheck everything but "Samples"
- Copy these two files to (wix-install-dir)\bin
- You may need to locally edit
wix.base
in brackets-win-install-build.xml if the Wix install folder doesn't match what's hardcoded there
To rev the Brackets release number with Grunt, both brackets-shell and brackets repositories must be updated. For the initial Grunt setup, see: https://github.com/adobe/brackets/wiki/Grunt-Setup.
brackets > grunt set-release --release=NN brackets-shell > grunt set-release --release=NN
- Open brackets-win-install-build.xml and change
product.release.number.minor
, and, for a major release,product.release.number.major
as well - Open brackets-shell\installer\mac\buildInstaller.sh and change
dmgName
- Open Brackets.wxs and replace the
StartMenuShortcut
GUID property with a newly generated GUID - Open brackets-shell\appshell\version.rc and change
FILEVERSION
and"FileVersion"
- Open brackets-shell\appshell\mac\Info.plist and change
CFBundleVersion
andCFBundleShortVersionString
- Open brackets\src\package.json and change
"version"