[GH-ISSUE #354] Installer build currently fails on Azure Pipelines #284

Closed
opened 2026-05-05 05:56:13 -06:00 by gitea-mirror · 9 comments
Owner

Originally created by @nelsonjchen on GitHub (Jul 6, 2019).
Original GitHub issue: https://github.com/debauchee/barrier/issues/354

@nelsonjchen any idea why the debug build would work, but not the release build? (Seems it can't find a file/folder https://dev.azure.com/debauchee/Barrier/_build/results?buildId=28)

Originally posted by @AdrianKoshka in https://github.com/debauchee/barrier/pull/352#issuecomment-508861147

Odd, my work started after the Wix change. I'm not sure what changed. Azure Pipelines does include Inno Setup in their images:

https://github.com/microsoft/azure-pipelines-image-generation/pull/313

Originally created by @nelsonjchen on GitHub (Jul 6, 2019). Original GitHub issue: https://github.com/debauchee/barrier/issues/354 @nelsonjchen any idea why the debug build would work, but not the release build? (Seems it can't find a file/folder https://dev.azure.com/debauchee/Barrier/_build/results?buildId=28) _Originally posted by @AdrianKoshka in https://github.com/debauchee/barrier/pull/352#issuecomment-508861147_ Odd, my work started after the Wix change. I'm not sure what changed. Azure Pipelines does include Inno Setup in their images: https://github.com/microsoft/azure-pipelines-image-generation/pull/313
gitea-mirror 2026-05-05 05:56:13 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@noisyshape commented on GitHub (Jul 8, 2019):

The failure is on the Build Installer step. Based on the output it looks like C:\Program Files (x86)\Inno Setup 5\ISCC.exe doesn't exist. I think if the problem was anything else there would be a different error message.

<!-- gh-comment-id:509043847 --> @noisyshape commented on GitHub (Jul 8, 2019): The failure is on the Build Installer step. Based on the output it looks like `C:\Program Files (x86)\Inno Setup 5\ISCC.exe` doesn't exist. I think if the problem was anything else there would be a different error message.
Author
Owner

@nelsonjchen commented on GitHub (Jul 9, 2019):

They certainly don't pin it in their scripts to build the base image.

53f1ce1d90/images/win/scripts/Installers/Install-InnoSetup.ps1

<!-- gh-comment-id:509469208 --> @nelsonjchen commented on GitHub (Jul 9, 2019): They certainly don't pin it in their scripts to build the base image. https://github.com/microsoft/azure-pipelines-image-generation/blob/53f1ce1d90dd16688c60914a60d9b56c8ce6231b/images/win/scripts/Installers/Install-InnoSetup.ps1
Author
Owner

@nelsonjchen commented on GitHub (Jul 9, 2019):

##[section]Starting: CmdLine
==============================================================================
Task         : Command line
Description  : Run a command line script using Bash on Linux and macOS and cmd.exe on Windows
Version      : 2.151.1
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/command-line
==============================================================================
Generating script.
Script contents:
dir "C:\Program Files (x86)"
========================== Starting Command Output ===========================
##[command]"C:\windows\system32\cmd.exe" /D /E:ON /V:OFF /S /C "CALL "D:\a\_temp\fab343b7-706e-4da7-a0ee-6323bff9658e.cmd""
 Volume in drive C is Windows
 Volume Serial Number is 94BA-7E82

 Directory of C:\Program Files (x86)

06/22/2019  08:05 AM    <DIR>          .
06/22/2019  08:05 AM    <DIR>          ..
06/22/2019  02:55 AM    <DIR>          Android
06/22/2019  02:24 AM    <DIR>          Application Verifier
06/22/2019  02:32 AM    <DIR>          Common Files
06/22/2019  01:53 AM    <DIR>          Entity Framework Tools
06/22/2019  03:10 AM    <DIR>          Epic Games
06/22/2019  05:11 AM    <DIR>          Google
06/22/2019  02:15 AM    <DIR>          HTML Help Workshop
06/22/2019  02:40 AM    <DIR>          IIS
06/22/2019  02:07 AM    <DIR>          IIS Express
06/22/2019  08:03 AM    <DIR>          Inno Setup 6
06/12/2019  01:26 AM    <DIR>          Internet Explorer
06/22/2019  02:52 AM    <DIR>          Microsoft
06/22/2019  02:51 AM    <DIR>          Microsoft Analysis Services
06/22/2019  02:41 AM    <DIR>          Microsoft ASP.NET Core 1.0 Local Feed - Visual Studio 2017
06/22/2019  02:42 AM    <DIR>          Microsoft ASP.NET Core 1.1 Local Feed - Visual Studio 2017
06/22/2019  03:12 AM    <DIR>          Microsoft SDKs
06/22/2019  03:31 AM    <DIR>          Microsoft SQL Server
06/22/2019  01:52 AM    <DIR>          Microsoft Visual Studio
06/22/2019  03:27 AM    <DIR>          Microsoft Visual Studio 10.0
06/22/2019  03:27 AM    <DIR>          Microsoft Visual Studio 11.0
06/22/2019  03:28 AM    <DIR>          Microsoft Visual Studio 12.0
06/22/2019  02:32 AM    <DIR>          Microsoft Visual Studio 14.0
06/22/2019  02:58 AM    <DIR>          Microsoft Visual Studio Tools for Unity
06/22/2019  02:40 AM    <DIR>          Microsoft Web Tools
06/22/2019  01:53 AM    <DIR>          Microsoft.NET
06/22/2019  05:13 AM    <DIR>          Mozilla Maintenance Service
06/22/2019  02:32 AM    <DIR>          MSBuild
06/22/2019  08:05 AM    <DIR>          NSIS
06/22/2019  02:42 AM    <DIR>          NuGet
06/22/2019  02:52 AM    <DIR>          Open XML SDK
06/22/2019  01:07 AM    <DIR>          Reference Assemblies
06/22/2019  02:43 AM    <DIR>          ShellDir
06/22/2019  05:09 AM    <DIR>          Subversion
06/22/2019  05:14 AM    <DIR>          Windows Application Driver
06/12/2019  01:26 AM    <DIR>          Windows Defender
06/22/2019  02:10 AM    <DIR>          Windows Kits
06/12/2019  01:26 AM    <DIR>          Windows Mail
06/12/2019  01:26 AM    <DIR>          Windows Media Player
07/16/2016  01:23 PM    <DIR>          Windows Multimedia Platform
07/16/2016  01:23 PM    <DIR>          Windows NT
06/22/2019  02:39 AM    <DIR>          Windows Phone Kits
06/12/2019  01:26 AM    <DIR>          Windows Photo Viewer
07/16/2016  01:23 PM    <DIR>          Windows Portable Devices
06/22/2019  01:16 AM    <DIR>          WindowsPowerShell
06/22/2019  03:34 AM    <DIR>          WiX Toolset v3.11
06/22/2019  02:52 AM    <DIR>          Workflow Manager Tools
06/22/2019  02:54 AM    <DIR>          Xamarin
               0 File(s)              0 bytes
              49 Dir(s)  126,015,741,952 bytes free
##[section]Finishing: CmdLine

Yep. 6

<!-- gh-comment-id:509470723 --> @nelsonjchen commented on GitHub (Jul 9, 2019): ``` ##[section]Starting: CmdLine ============================================================================== Task : Command line Description : Run a command line script using Bash on Linux and macOS and cmd.exe on Windows Version : 2.151.1 Author : Microsoft Corporation Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/command-line ============================================================================== Generating script. Script contents: dir "C:\Program Files (x86)" ========================== Starting Command Output =========================== ##[command]"C:\windows\system32\cmd.exe" /D /E:ON /V:OFF /S /C "CALL "D:\a\_temp\fab343b7-706e-4da7-a0ee-6323bff9658e.cmd"" Volume in drive C is Windows Volume Serial Number is 94BA-7E82 Directory of C:\Program Files (x86) 06/22/2019 08:05 AM <DIR> . 06/22/2019 08:05 AM <DIR> .. 06/22/2019 02:55 AM <DIR> Android 06/22/2019 02:24 AM <DIR> Application Verifier 06/22/2019 02:32 AM <DIR> Common Files 06/22/2019 01:53 AM <DIR> Entity Framework Tools 06/22/2019 03:10 AM <DIR> Epic Games 06/22/2019 05:11 AM <DIR> Google 06/22/2019 02:15 AM <DIR> HTML Help Workshop 06/22/2019 02:40 AM <DIR> IIS 06/22/2019 02:07 AM <DIR> IIS Express 06/22/2019 08:03 AM <DIR> Inno Setup 6 06/12/2019 01:26 AM <DIR> Internet Explorer 06/22/2019 02:52 AM <DIR> Microsoft 06/22/2019 02:51 AM <DIR> Microsoft Analysis Services 06/22/2019 02:41 AM <DIR> Microsoft ASP.NET Core 1.0 Local Feed - Visual Studio 2017 06/22/2019 02:42 AM <DIR> Microsoft ASP.NET Core 1.1 Local Feed - Visual Studio 2017 06/22/2019 03:12 AM <DIR> Microsoft SDKs 06/22/2019 03:31 AM <DIR> Microsoft SQL Server 06/22/2019 01:52 AM <DIR> Microsoft Visual Studio 06/22/2019 03:27 AM <DIR> Microsoft Visual Studio 10.0 06/22/2019 03:27 AM <DIR> Microsoft Visual Studio 11.0 06/22/2019 03:28 AM <DIR> Microsoft Visual Studio 12.0 06/22/2019 02:32 AM <DIR> Microsoft Visual Studio 14.0 06/22/2019 02:58 AM <DIR> Microsoft Visual Studio Tools for Unity 06/22/2019 02:40 AM <DIR> Microsoft Web Tools 06/22/2019 01:53 AM <DIR> Microsoft.NET 06/22/2019 05:13 AM <DIR> Mozilla Maintenance Service 06/22/2019 02:32 AM <DIR> MSBuild 06/22/2019 08:05 AM <DIR> NSIS 06/22/2019 02:42 AM <DIR> NuGet 06/22/2019 02:52 AM <DIR> Open XML SDK 06/22/2019 01:07 AM <DIR> Reference Assemblies 06/22/2019 02:43 AM <DIR> ShellDir 06/22/2019 05:09 AM <DIR> Subversion 06/22/2019 05:14 AM <DIR> Windows Application Driver 06/12/2019 01:26 AM <DIR> Windows Defender 06/22/2019 02:10 AM <DIR> Windows Kits 06/12/2019 01:26 AM <DIR> Windows Mail 06/12/2019 01:26 AM <DIR> Windows Media Player 07/16/2016 01:23 PM <DIR> Windows Multimedia Platform 07/16/2016 01:23 PM <DIR> Windows NT 06/22/2019 02:39 AM <DIR> Windows Phone Kits 06/12/2019 01:26 AM <DIR> Windows Photo Viewer 07/16/2016 01:23 PM <DIR> Windows Portable Devices 06/22/2019 01:16 AM <DIR> WindowsPowerShell 06/22/2019 03:34 AM <DIR> WiX Toolset v3.11 06/22/2019 02:52 AM <DIR> Workflow Manager Tools 06/22/2019 02:54 AM <DIR> Xamarin 0 File(s) 0 bytes 49 Dir(s) 126,015,741,952 bytes free ##[section]Finishing: CmdLine ``` Yep. `6`
Author
Owner

@nelsonjchen commented on GitHub (Jul 9, 2019):

The tests Microsoft has to validate their image just checks if iscc.exe is in the path:

https://github.com/microsoft/azure-pipelines-image-generation/pull/327/files

I know we're on a bit of a moving platform but major version bumps aren't fun. Hmm. I'll see if I can get this to pin.

<!-- gh-comment-id:509488924 --> @nelsonjchen commented on GitHub (Jul 9, 2019): The tests Microsoft has to validate their image just checks if `iscc.exe` is in the path: https://github.com/microsoft/azure-pipelines-image-generation/pull/327/files I know we're on a bit of a moving platform but major version bumps aren't fun. Hmm. I'll see if I can get this to pin.
Author
Owner

@nelsonjchen commented on GitHub (Jul 9, 2019):

Safest by pinning Inno Setup 5: https://github.com/debauchee/barrier/pull/356

I think we should merge the above soon. It's safe and reasonable for now.

Later by changing to Inno Setup 6 and building with that: https://github.com/debauchee/barrier/pull/357

I haven't tested this yet.

<!-- gh-comment-id:509492200 --> @nelsonjchen commented on GitHub (Jul 9, 2019): Safest by pinning Inno Setup 5: https://github.com/debauchee/barrier/pull/356 I think we should merge the above soon. It's safe and reasonable for now. Later by changing to Inno Setup 6 and building with that: https://github.com/debauchee/barrier/pull/357 I haven't tested this yet.
Author
Owner

@AdrianKoshka commented on GitHub (Jul 9, 2019):

Seems the build still failed even when #356 was merged.

##[section]Starting: Publish Release Installer
==============================================================================
Task         : Publish build artifacts
Description  : Publish build artifacts to Azure Pipelines or a Windows file share
Version      : 1.151.1
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/publish-build-artifacts
==============================================================================
##[error]Publishing build artifacts failed with an error: Not found PathtoPublish: D:\a\1\s\build\installer-inno\bin
##[section]Finishing: Publish Release Installer
<!-- gh-comment-id:509664679 --> @AdrianKoshka commented on GitHub (Jul 9, 2019): Seems the build still failed even when #356 was merged. ``` ##[section]Starting: Publish Release Installer ============================================================================== Task : Publish build artifacts Description : Publish build artifacts to Azure Pipelines or a Windows file share Version : 1.151.1 Author : Microsoft Corporation Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/publish-build-artifacts ============================================================================== ##[error]Publishing build artifacts failed with an error: Not found PathtoPublish: D:\a\1\s\build\installer-inno\bin ##[section]Finishing: Publish Release Installer ```
Author
Owner

@nelsonjchen commented on GitHub (Jul 9, 2019):

Ah yeah that PR needs to be rebased or have master merged into it.

<!-- gh-comment-id:509679881 --> @nelsonjchen commented on GitHub (Jul 9, 2019): Ah yeah that PR needs to be rebased or have master merged into it.
Author
Owner

@AdrianKoshka commented on GitHub (Jul 9, 2019):

Ah, thanks. :D

<!-- gh-comment-id:509721197 --> @AdrianKoshka commented on GitHub (Jul 9, 2019): Ah, thanks. :D
Author
Owner

@nelsonjchen commented on GitHub (Jul 9, 2019):

Looks to be resolved.

<!-- gh-comment-id:509730827 --> @nelsonjchen commented on GitHub (Jul 9, 2019): Looks to be resolved.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#284
No description provided.