Kron4ek / Conty

Easy to use unprivileged Linux container packed into a single portable executable
MIT License
772 stars 45 forks source link

Conty 1.26.1 and the Simplis-Simetrix install issue #180

Closed oleka2 closed 2 months ago

oleka2 commented 2 months ago

Hello, I tried to install the Simplis-Simetrix demo: https://download.simetrix.co.uk/0/91/release/19/Elements-setup.exe using this command:

conty-1.26.1.sh wine 'Elements-setup.exe'

but without success, all I got is this log with errors:

[0138:013C][2024-09-11T06:15:25]i299: Plan complete, result: 0x0
[0138:013C][2024-09-11T06:15:25]i300: Apply begin
[0138:013C][2024-09-11T06:15:25]i010: Launching elevated engine process.
[0138:013C][2024-09-11T06:15:26]i011: Launched elevated engine process.
[0138:013C][2024-09-11T06:15:26]i012: Connected to elevated engine.
[01D8:01DC][2024-09-11T06:15:26]i358: Pausing automatic updates.
[01D8:01DC][2024-09-11T06:15:26]i359: Paused automatic updates.
[01D8:01DC][2024-09-11T06:15:26]i360: Creating a system restore point.
[01D8:01DC][2024-09-11T06:15:26]i361: Created a system restore point.
[01D8:01DC][2024-09-11T06:15:26]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1fd3556d-5d8a-4fa2-81b4-ae6dee9a0a70}, options: 0x7, disable resume: No
[01D8:01DC][2024-09-11T06:15:26]i000: Caching bundle from: 'C:\windows\Temp\{F61425C9-C413-46E1-8031-47C0D11941A2}\.be\Elements-setup.exe' to: 'C:\ProgramData\Package Cache\{1fd3556d-5d8a-4fa2-81b4-ae6dee9a0a70}\Elements-setup.exe'
[01D8:01DC][2024-09-11T06:15:26]i320: Registering bundle dependency provider: {1fd3556d-5d8a-4fa2-81b4-ae6dee9a0a70}, version: 9.1.19.0
[01D8:01DC][2024-09-11T06:15:26]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1fd3556d-5d8a-4fa2-81b4-ae6dee9a0a70}, resume: Active, restart initiated: No, disable resume: No
[01D8:0210][2024-09-11T06:15:26]i304: Verified existing payload: Patch at path: C:\ProgramData\Package Cache\{75DB55B4-B178-48A0-B6CF-2BD86FA5CBA0}\update-s.msp.
[01D8:0210][2024-09-11T06:15:26]e000: Error 0x80070002: Failed to find payload: MainPackage in working path: C:\windows\Temp\{F61425C9-C413-46E1-8031-47C0D11941A2}\MainPackage and unverified path: C:\ProgramData\Package Cache\.unverified\MainPackage
[01D8:0210][2024-09-11T06:15:26]e000: Error 0x80070002: Failed to cache payload: MainPackage
[0138:021C][2024-09-11T06:15:26]e314: Failed to cache payload: MainPackage from working path: C:\windows\Temp\{F61425C9-C413-46E1-8031-47C0D11941A2}\MainPackage, error: 0x80070002.
[0138:021C][2024-09-11T06:15:26]e349: Application requested retry of payload: MainPackage, encountered error: 0x80070002. Retrying...
[01D8:0210][2024-09-11T06:15:27]i305: Verified acquired payload: MainPackage at path: C:\ProgramData\Package Cache\.unverified\MainPackage, moving to: C:\ProgramData\Package Cache\{6746D5C1-563D-4E36-B2E3-F453BC6B1A07}v9.1.0\rtm.msi.
[01D8:01DC][2024-09-11T06:15:27]i323: Registering package dependency provider: {6746D5C1-563D-4E36-B2E3-F453BC6B1A07}, version: 9.1.0, package: MainPackage
[01D8:01DC][2024-09-11T06:15:27]i301: Applying execute package: MainPackage, action: Install, path: C:\ProgramData\Package Cache\{6746D5C1-563D-4E36-B2E3-F453BC6B1A07}v9.1.0\rtm.msi, arguments: ' ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7" INSTALLFOLDER="SIMetrix-SIMPLIS-Elements_910" ACCEPTEULA="Yes" PATCH="C:\ProgramData\Package Cache\{75DB55B4-B178-48A0-B6CF-2BD86FA5CBA0}\update-s.msp"'
[01D8:01DC][2024-09-11T06:15:28]e000: Error 0x80070661: Failed to install MSI package.
[01D8:01DC][2024-09-11T06:15:28]e000: Error 0x80070661: Failed to execute MSI package.
[0138:013C][2024-09-11T06:15:28]e000: Error 0x80070661: Failed to configure per-machine MSI package.
[0138:013C][2024-09-11T06:15:28]i319: Applied execute package: MainPackage, result: 0x80070661, restart: None
[0138:013C][2024-09-11T06:15:28]e000: Error 0x80070661: Failed to execute MSI package.
[01D8:01DC][2024-09-11T06:15:28]i318: Skipped rollback of package: MainPackage, action: Uninstall, already: Absent
[0138:013C][2024-09-11T06:15:28]i319: Applied rollback package: MainPackage, result: 0x0, restart: None
[01D8:01DC][2024-09-11T06:15:28]i329: Removed package dependency provider: {6746D5C1-563D-4E36-B2E3-F453BC6B1A07}, package: MainPackage
[01D8:01DC][2024-09-11T06:15:28]i351: Removing cached package: MainPackage, from path: C:\ProgramData\Package Cache\{6746D5C1-563D-4E36-B2E3-F453BC6B1A07}v9.1.0\
[01D8:01DC][2024-09-11T06:15:29]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1fd3556d-5d8a-4fa2-81b4-ae6dee9a0a70}, resume: None, restart: None, disable resume: No
[01D8:01DC][2024-09-11T06:15:29]i330: Removed bundle dependency provider: {1fd3556d-5d8a-4fa2-81b4-ae6dee9a0a70}
[01D8:01DC][2024-09-11T06:15:29]i352: Removing cached bundle: {1fd3556d-5d8a-4fa2-81b4-ae6dee9a0a70}, from path: C:\ProgramData\Package Cache\{1fd3556d-5d8a-4fa2-81b4-ae6dee9a0a70}\
[01D8:01DC][2024-09-11T06:15:29]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1fd3556d-5d8a-4fa2-81b4-ae6dee9a0a70}, resume: None, restart initiated: No, disable resume: No
[0138:013C][2024-09-11T06:15:29]i399: Apply complete, result: 0x80070661, restart: None, ba requested restart:  No

Can you help me to run it properly ?

Kron4ek commented 2 months ago

Hi,

You can try a different Wine version (for example, from here) and create a new clean wineprefix.

$ wget https://github.com/Kron4ek/Wine-Builds/releases/download/9.17/wine-9.17-staging-amd64.tar.xz
$ tar -C $HOME -xf wine-9.17-staging-amd64.tar.xz
$ WINEPREFIX=~/newprefix ./conty-1.26.1.sh ~/wine-9.17-staging-amd64/bin/wine 'Elements-setup.exe'
$ WINEPREFIX=~/newprefix ./conty-1.26.1.sh ~/wine-9.17-staging-amd64/bin/wine ~/"newprefix/drive_c/Program Files/SIMetrix-SIMPLIS-Elements_910/bin64/SIMetrix.exe"
oleka2 commented 2 months ago

Your suggestion worked well, thanks !