Finished refactoring build process, Added final GUID to MSI, Finished separating build scripts

Update .gitignore, check-and-fix-path.bat, and 9 more files...
This commit is contained in:
2022-11-19 13:16:45 +01:00
parent e2bc49c0f6
commit 6128f9473e
11 changed files with 262 additions and 314 deletions
@@ -4,22 +4,24 @@
pushd %~dp0
cd /D "%~dp0"
:: Calling the common script
:: Calling the common script.
call .\commons.bat
:: Moving to the "NibblePoker.Packaging.ListComPort\Wix" folder.
cd .\..\Wix
:: Cleaning
:: Cleaning.
echo Removing old MSI-related files...
del *.msi >nul 2>&1
del *.wixobj >nul 2>&1
del *.wixpdb >nul 2>&1
echo.
:: Packaging into MSI
:: Packaging into MSI.
echo Creating x64 MSI package...
set WixTargetPlatform=x64
set NP_MSI_OK=false
candle -nologo ListComPort.wxs -out ListComPort_x64.wixobj -ext WixUIExtension
if ERRORLEVEL 1 (
echo.
@@ -52,5 +54,9 @@ if ERRORLEVEL 1 (
goto end-msi-error
)
:: Going back to the original directory
set NP_MSI_OK=true
:end-msi-error
:: Going back to the original directory.
popd