Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsupported requirements? #27

Open
crislub opened this issue Jun 20, 2022 · 4 comments
Open

Unsupported requirements? #27

crislub opened this issue Jun 20, 2022 · 4 comments

Comments

@crislub
Copy link

crislub commented Jun 20, 2022

Hello,

We are trying to compile this project in Visual Studio 2013, however the project requires Wix Toolset with Net Framework 3.5, which is no longer supported in the vast majority of modern Windows operating systems, is there any alternative?

In parallel we are trying to run the scripts standalone with PowerShell, but they throw the following error:

copy : Cannot find path 'C:\Program Files (x86)\Common Files\Merge Modules\Microsoft_VC140_CRT_x64.msm' because it does not exist.
At C:\Users\administrator\Desktop\cloudbase-init-installer\BuildAutomation\BuildCloudbaseInitSetup.ps1:147 char:9
copy "${VSRedistDir}\Microsoft_VC140_CRT_x64.msm" $installer_ ...

 CategoryInfo          : ObjectNotFound: (C:\Program File...140_CRT_x64.msm:String) [Copy-Item], ItemNotFoundException
 FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand

We have Visual Studio 2013 installed. Also tried with 2015 and 2017. Is there any requirement list for this project?

Thanks.

@ader1990
Copy link
Member

Hello,

I could achieve building the cloudbase installer using github actions, if you are interested you can find it here:

Please let me know if that helps, as the automation is complete:

https:/ader1990/cloudbase-init-installer-1/tree/nocloud_v2_net_support
https:/ader1990/cloudbase-init-installer-1/blob/nocloud_v2_net_support/.github/workflows/build_cbsinit.yml

You can fork the repo and leverage the actions for automated builds.
Thank you.

@crislub
Copy link
Author

crislub commented Jul 13, 2022

Hello,

Thanks @ader1990 this solution works for github runners, but when we try to use our runners we received the same error with the 'Micrsoft_VC140_CRT_x64.msm' file as previous message. We have installed Visual Studio 2019 and downloaded the vc_redist file but the file is not included in 'Merge Module' folder. Could you tell me which version are you using in the github runners?

Thanks.

@ader1990
Copy link
Member

Hello,

I have used these workflow steps for github actions:

    - name: Add msbuild to PATH
      uses: microsoft/[email protected]
    - name: Install Windows 8.1 SDK
      run: |
        Invoke-WebRequest -Method Get -Uri https://go.microsoft.com/fwlink/p/?LinkId=323507 -OutFile sdksetup.exe -UseBasicParsing
        Start-Process -Wait sdksetup.exe -ArgumentList "/q", "/norestart", "/features", "OptionId.WindowsDesktopSoftwareDevelopmentKit", "OptionId.NetFxSoftwareDevelopmentKit"
      shell: powershell

@ader1990
Copy link
Member

Hello @crislub, have you solved the issue?

We have moved to Python 3.11 and soon enough Python 3.12 and we are using VS 2019 as well and all works good with the latest code updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants