-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GPII-1731: Windows Installer should be integrated with our deployment…
… and CI infrastructure.
- Loading branch information
Showing
4 changed files
with
89 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
pushd . | ||
|
||
if not exist C:\installer\\. ( | ||
git clone https://github.com/gpii/gpii-wix-installer C:\installer | ||
|
||
cd C:\installer | ||
git checkout tags/v1.0.0 | ||
) | ||
|
||
rmdir /s /q C:\installer\staging\windows | ||
|
||
cd C:\vagrant\provisioning | ||
robocopy /job:windows.rcj | ||
|
||
cd C:\installer\staging\windows | ||
call npm prune --production | ||
|
||
cd C:\installer\setup | ||
|
||
pushd ..\ | ||
if not exist output\\. mkdir output | ||
if not exist temp\\. mkdir temp | ||
popd | ||
|
||
call "C:\Program Files (x86)\Microsoft Visual C++ Build Tools\vcbuildtools_msbuild.bat" | ||
msbuild setup.msbuild | ||
|
||
popd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
choco install nodejs.install -version 4.4.3 --forcex86 -y | ||
choco install python2 -y | ||
choco install innosetup -y | ||
setx /M PATH "%PATH%;C:\Program Files (x86)\nodejs;C:\tools\python2;C:\Program Files (x86)\Inno Setup 5" | ||
choco install wixtoolset -y | ||
choco install msbuild.extensionpack -y | ||
|
||
setx /M PATH "%PATH%;C:\Program Files (x86)\nodejs;C:\tools\python2;C:\Program Files (x86)\Inno Setup 5;C:\Program Files (x86)\WiX Toolset v3.10\bin" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
|
||
:: | ||
:: Source Directory : | ||
:: | ||
/SD:C:\vagrant\ :: Source Directory. | ||
|
||
:: | ||
:: Destination Directory : | ||
:: | ||
/DD:C:\installer\staging\windows\ :: Destination Directory. | ||
|
||
:: | ||
:: Include These Files : | ||
:: | ||
/IF :: Include Files matching these names | ||
:: *.* :: Include all names (currently - Command Line may override) | ||
|
||
:: | ||
:: Exclude These Directories : | ||
:: | ||
/XD :: eXclude Directories matching these names | ||
.git | ||
.vagrant | ||
C:\vagrant\provisioning | ||
C:\vagrant\listeners\GPII_RFIDListener\build | ||
C:\vagrant\listeners\GPII_USBListener\build | ||
|
||
:: | ||
:: Exclude These Files : | ||
:: | ||
/XF :: eXclude Files matching these names | ||
.gitignore | ||
Vagrantfile | ||
*.pdb | ||
*.ipdb | ||
*.iobj | ||
:: | ||
:: Copy options : | ||
:: | ||
/S :: copy Subdirectories, but not empty ones. | ||
/E :: copy subdirectories, including Empty ones. | ||
/DCOPY:DA :: what to COPY for directories (default is /DCOPY:DA). | ||
/COPY:DAT :: what to COPY for files (default is /COPY:DAT). | ||
:: | ||
:: Retry Options : | ||
:: | ||
/R:1000000 :: number of Retries on failed copies: default 1 million. | ||
/W:30 :: Wait time between retries: default is 30 seconds. | ||
:: | ||
:: Logging Options : | ||
:: | ||
/NS :: No Size - don't log file sizes. | ||
/NC :: No Class - don't log file classes. | ||
/NDL :: No Directory List - don't log directory names. | ||
/NFL :: No File List - don't log file names. | ||
|