@@ -82,24 +82,24 @@ function Package {
82
82
Compress-Archive - Force @CompressArgs
83
83
Log- Group
84
84
85
- if ( ( $BuildInstaller ) ) {
86
- Log- Group " Packaging ${ProductName} ..."
87
-
88
- $IsccFile = " ${ProjectRoot} /build_${Target} /installer-Windows.generated.iss"
89
- if ( ! ( Test-Path - Path $IsccFile ) ) {
90
- throw ' InnoSetup install script not found. Run the build script or the CMake build and install procedures first.'
91
- }
92
-
93
- Log- Information ' Creating InnoSetup installer...'
94
- Push-Location - Stack BuildTemp
95
- Ensure- Location - Path " ${ProjectRoot} /release"
96
- Copy-Item - Path ${Configuration} - Destination Package - Recurse
97
- Invoke-External iscc ${IsccFile} / O" ${ProjectRoot} /release" / F" ${OutputName} -Installer"
98
- Remove-Item - Path Package - Recurse
99
- Pop-Location - Stack BuildTemp
100
-
101
- Log- Group
102
- }
85
+ # if ( ( $BuildInstaller ) ) {
86
+ # Log-Group "Packaging ${ProductName}..."
87
+
88
+ # $IsccFile = "${ProjectRoot}/build_${Target}/installer-Windows.generated.iss"
89
+ # if ( ! ( Test-Path -Path $IsccFile ) ) {
90
+ # throw 'InnoSetup install script not found. Run the build script or the CMake build and install procedures first.'
91
+ # }
92
+
93
+ # Log-Information 'Creating InnoSetup installer...'
94
+ # Push-Location -Stack BuildTemp
95
+ # Ensure-Location -Path "${ProjectRoot}/release"
96
+ # Copy-Item -Path ${Configuration} -Destination Package -Recurse
97
+ # Invoke-External iscc ${IsccFile} /O"${ProjectRoot}/release" /F"${OutputName}-Installer"
98
+ # Remove-Item -Path Package -Recurse
99
+ # Pop-Location -Stack BuildTemp
100
+
101
+ # Log-Group
102
+ # }
103
103
}
104
104
105
105
Package
0 commit comments