diff --git a/.github/workflows/installer.build.yml b/.github/workflows/installer.build.yml index 12e6bf8a..294fdec9 100644 --- a/.github/workflows/installer.build.yml +++ b/.github/workflows/installer.build.yml @@ -46,28 +46,30 @@ jobs: tail -c 4 registration.key (Get-FileHash .\registration.key).Hash ls -r registration.key - - name: Cache Chocolatey Dependencies - uses: actions/cache@v1 - with: - path: C:\ProgramData\chocolatey\lib - key: choco-cache-${{ hashFiles('**/dependencies.config') }} - restore-keys: | - choco-cache- - - name: Trying to run choco install. - run: Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) - - name: Install advanced installer - run: choco install advanced-installer wixtoolset --yes - - name: Restore nuget packages - run: nuget restore ZitiDesktopEdge.sln - - shell: cmd +# - name: Cache Chocolatey Dependencies +# uses: actions/cache@v1 +# with: +# path: C:\ProgramData\chocolatey\lib +# key: choco-cache-${{ hashFiles('**/dependencies.config') }} +# restore-keys: | +# choco-cache- +# - name: Trying to run choco install. +# run: Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) +# - name: Install advanced installer +# run: choco install advanced-installer wixtoolset --yes +# - name: Restore nuget packages +# run: nuget restore ZitiDesktopEdge.sln + - shell: pwsh name: Register Advanced Installer run: | - set /p ADV_REG_KEY=&1 - - name: Build UI and Assemble Installer - run: powershell -File .\Installer\build.ps1 - - name: Upload installer onto job - uses: actions/upload-artifact@v2 - with: - name: ZitiDesktopEdgeClient - path: "Installer/Output/Ziti Desktop Edge Client-1.2.10.exe" \ No newline at end of file + $key=(Get-Content .\registration.key) + "C:\Program Files (x86)\Caphyon\Advanced Installer 17.5\bin\x86\AdvancedInstaller.com" "/register" "$key" +# set /p ADV_REG_KEY=&1 +# - name: Build UI and Assemble Installer +# run: powershell -File .\Installer\build.ps1 +# - name: Upload installer onto job +# uses: actions/upload-artifact@v2 +# with: +# name: ZitiDesktopEdgeClient +# path: "Installer/Output/Ziti Desktop Edge Client-1.2.10.exe" \ No newline at end of file