diff --git a/.gitignore b/.gitignore index 632225d..46db91e 100644 --- a/.gitignore +++ b/.gitignore @@ -16,5 +16,6 @@ NibblePoker.Packaging.ListComPort/*.wixpdb *.pbd *.so *.zip +*.url notes.txt diff --git a/NibblePoker.Packaging.ListComPort/BannerSide.pdn b/NibblePoker.Packaging.ListComPort/BannerSide.pdn new file mode 100644 index 0000000..ac65250 Binary files /dev/null and b/NibblePoker.Packaging.ListComPort/BannerSide.pdn differ diff --git a/NibblePoker.Packaging.ListComPort/BannerSide.png b/NibblePoker.Packaging.ListComPort/BannerSide.png new file mode 100644 index 0000000..26fb6e2 Binary files /dev/null and b/NibblePoker.Packaging.ListComPort/BannerSide.png differ diff --git a/NibblePoker.Packaging.ListComPort/untitled.wxs b/NibblePoker.Packaging.ListComPort/ListComPort.wxs similarity index 54% rename from NibblePoker.Packaging.ListComPort/untitled.wxs rename to NibblePoker.Packaging.ListComPort/ListComPort.wxs index fc22e56..2cef770 100644 --- a/NibblePoker.Packaging.ListComPort/untitled.wxs +++ b/NibblePoker.Packaging.ListComPort/ListComPort.wxs @@ -1,21 +1,50 @@ - + + + + - - + + + + + + - + - + + - - + + - + @@ -32,22 +61,37 @@ - + - + - + - + + + + + + + @@ -87,7 +131,9 @@ 1 1 - + NOT Installed OR WixUI_InstallMode = "Change" + Installed AND NOT PATCH + Installed AND PATCH diff --git a/NibblePoker.Packaging.ListComPort/PlatformDependentVariables.wxi b/NibblePoker.Packaging.ListComPort/PlatformDependentVariables.wxi deleted file mode 100644 index 79c4d7f..0000000 --- a/NibblePoker.Packaging.ListComPort/PlatformDependentVariables.wxi +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/NibblePoker.Packaging.ListComPort/Variables.wxi b/NibblePoker.Packaging.ListComPort/Variables.wxi new file mode 100644 index 0000000..093e0db --- /dev/null +++ b/NibblePoker.Packaging.ListComPort/Variables.wxi @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/NibblePoker.Packaging.ListComPort/WixUIDialogBmp_thin.png b/NibblePoker.Packaging.ListComPort/WixUIDialogBmp_thin.png index 66e52ad..d0e455f 100644 Binary files a/NibblePoker.Packaging.ListComPort/WixUIDialogBmp_thin.png and b/NibblePoker.Packaging.ListComPort/WixUIDialogBmp_thin.png differ diff --git a/NibblePoker.Packaging.ListComPort/make.bat b/NibblePoker.Packaging.ListComPort/make.bat index 7d3be93..17989d9 100644 --- a/NibblePoker.Packaging.ListComPort/make.bat +++ b/NibblePoker.Packaging.ListComPort/make.bat @@ -1,9 +1,28 @@ @echo off -echo Executing "candle.exe"... -"C:\Program Files (x86)\WiX Toolset v3.11\bin\candle.exe" -nologo "D:\DevelopmentNew\DotNet\ComPortWatcher\NibblePoker.Packaging.ListComPort\untitled.wxs" -out "D:\DevelopmentNew\DotNet\ComPortWatcher\NibblePoker.Packaging.ListComPort\untitled.wixobj" -ext WixUIExtension +cd /D "%~dp0" -echo Executing "light.exe"... -"C:\Program Files (x86)\WiX Toolset v3.11\bin\light.exe" "untitled.wixobj" -out "untitled.msi" -ext WixUIExtension -cultures:en-us +del *.msi +del *.wixobj +del *.wixpdb + +set WixTargetPlatform=x64 + +echo Executing "candle.exe" for x64... +"C:\Program Files (x86)\WiX Toolset v3.14\bin\candle.exe" -nologo "ListComPort.wxs" -out "ListComPort_x64.wixobj" -ext WixUIExtension + +echo Executing "light.exe" for x64... +"C:\Program Files (x86)\WiX Toolset v3.14\bin\light.exe" "ListComPort_x64.wixobj" -out "ListComPort_x64.msi" -ext WixUIExtension -cultures:en-us + +set WixTargetPlatform=x86 + +echo Executing "candle.exe" for x86... +"C:\Program Files (x86)\WiX Toolset v3.14\bin\candle.exe" -nologo "ListComPort.wxs" -out "ListComPort_x86.wixobj" -ext WixUIExtension + +echo Executing "light.exe" for x86... +"C:\Program Files (x86)\WiX Toolset v3.14\bin\light.exe" "ListComPort_x86.wixobj" -out "ListComPort_x86.msi" -ext WixUIExtension -cultures:en-us + +del *.wixobj +del *.wixpdb pause