LinSoftWin / Illustrator-CC-2021-Linux

A script that install Illustrator 2021 on Linux
BSD 3-Clause "New" or "Revised" License
126 stars 15 forks source link

Possible to install this via Bottles or Lutris? #9

Closed stpnwf closed 1 year ago

stpnwf commented 1 year ago

Hi, can this be installed via Bottles or Lutris? I can use ProtonUP to manage wine versions more easily there. If I install via the script I'd be limited to the wine version in the Fedora 38 repos, and its updates. I'd prefer to use one of them instead if that is possible.

stpnwf commented 1 year ago

Tried to install from the script, but despite an application icon being created, it doesn't work. This is the output of the script install:

Resolving lulucloud.mywire.org (lulucloud.mywire.org)... 94.72.141.164
Connecting to lulucloud.mywire.org (lulucloud.mywire.org)|94.72.141.164|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 55102048 (53M) [application/x-xz]
Saving to: ‘/tmp/wine-illustrator-custom.tar.xz’

/tmp/wine-illustrator-custom.tar.xz                  100%[===================================================================================================================>]  52.55M  2.71MB/s    in 29s     

2023-07-20 12:21:51 (1.78 MB/s) - ‘/tmp/wine-illustrator-custom.tar.xz’ saved [55102048/55102048]

002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
002c:fixme:winediag:LdrInitializeThunk wine-staging 7.12 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
0048:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0050:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0050:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0050:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0050:err:ole:apartment_get_local_server_stream Failed: 0x80004002
0048:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0048:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0048:err:ole:apartment_get_local_server_stream Failed: 0x80004002
0050:err:ole:start_rpcss Failed to open RpcSs service
0048:fixme:imm:ImeSetActiveContext (0000000000430FE0, 0): stub
0048:fixme:imm:ImmReleaseContext (0000000000010020, 0000000000430FE0): stub
002c:fixme:imm:ImeSetActiveContext (000000000042CF50, 1): stub
002c:fixme:imm:ImmReleaseContext (0000000000010054, 000000000042CF50): stub
0078:err:winedevice:ServiceMain Failed to load L"C:\\windows\\system32\\win32k.sys"
0078:err:winedevice:ServiceMain Failed to load L"C:\\windows\\system32\\drivers\\dxgkrnl.sys"
0078:err:winedevice:ServiceMain Failed to load L"C:\\windows\\system32\\drivers\\dxgmms1.sys"
0090:fixme:imm:ImeSetActiveContext (000000000072D320, 1): stub
0090:fixme:imm:ImmReleaseContext (000000000001008C, 000000000072D320): stub
0090:fixme:urlmon:InternetBindInfo_GetBindString not supported string type 20
0090:fixme:file:NtLockFile I/O completion on lock not implemented yet
0090:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0090:err:mscoree:LoadLibraryShim error reading registry key for installroot
0090:err:mscoree:LoadLibraryShim error reading registry key for installroot
0090:err:mscoree:LoadLibraryShim error reading registry key for installroot
0090:err:mscoree:LoadLibraryShim error reading registry key for installroot
00a4:fixme:file:NtLockFile I/O completion on lock not implemented yet
00a4:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
00a4:err:mscoree:LoadLibraryShim error reading registry key for installroot
00a4:err:mscoree:LoadLibraryShim error reading registry key for installroot
00a4:err:mscoree:LoadLibraryShim error reading registry key for installroot
00a4:err:mscoree:LoadLibraryShim error reading registry key for installroot
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
00ac:err:winediag:gnutls_process_attach failed to load libgnutls, no support for encryption
00ac:err:winediag:process_attach failed to load libgnutls, no support for pfx import/export
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
00b4:fixme:imm:ImeSetActiveContext (000000000074A660, 1): stub
00b4:fixme:imm:ImmReleaseContext (00000000000300A6, 000000000074A660): stub
00c4:fixme:imm:ImeSetActiveContext (000000000074A610, 1): stub
00c4:fixme:imm:ImmReleaseContext (00000000000300B6, 000000000074A610): stub
00d4:fixme:imm:ImeSetActiveContext (000000000074A610, 1): stub
00d4:fixme:imm:ImmReleaseContext (00000000000400B8, 000000000074A610): stub
00a4:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
00a4:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
0090:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
0090:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
0120:fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet
0120:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0120:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
0120:err:winediag:gnutls_process_attach failed to load libgnutls, no support for encryption
0120:err:winediag:process_attach failed to load libgnutls, no support for pfx import/export
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
wine: configuration in L"/home/USER/.WineApps/Adobe-Illustrator-2021" has been updated.
Wine cannot find the FreeType font library.  To enable Wine to
use TrueType fonts please install a version of FreeType greater than
or equal to 2.0.5.
http://www.freetype.org
Downloading Illustrator...
--2023-07-20 12:23:25--  https://lulucloud.mywire.org/FileHosting/GithubProjects/Illustrator/AdobeIllustrator2021.tar.xz
Resolving lulucloud.mywire.org (lulucloud.mywire.org)... 94.72.141.164
Connecting to lulucloud.mywire.org (lulucloud.mywire.org)|94.72.141.164|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 449213536 (428M) [application/x-xz]
Saving to: ‘/tmp/AdobeIllustrator2021.tar.xz’

/tmp/AdobeIllustrator2021.tar.xz                     100%[===================================================================================================================>] 428.40M  2.96MB/s    in 2m 27s  

2023-07-20 12:25:54 (2.91 MB/s) - ‘/tmp/AdobeIllustrator2021.tar.xz’ saved [449213536/449213536]

--2023-07-20 12:26:23--  https://lulucloud.mywire.org/FileHosting/GithubProjects/Illustrator/vcredist.tar.xz
Resolving lulucloud.mywire.org (lulucloud.mywire.org)... 94.72.141.164
Connecting to lulucloud.mywire.org (lulucloud.mywire.org)|94.72.141.164|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 80358344 (77M) [application/x-xz]
Saving to: ‘/tmp/vcredist.tar.xz’

/tmp/vcredist.tar.xz                                 100%[===================================================================================================================>]  76.63M  4.22MB/s    in 26s     

2023-07-20 12:26:50 (2.94 MB/s) - ‘/tmp/vcredist.tar.xz’ saved [80358344/80358344]

./install-illustrator-2021.sh: line 48: wine: command not found
./install-illustrator-2021.sh: line 49: wine: command not found
./install-illustrator-2021.sh: line 51: wine: command not found
./install-illustrator-2021.sh: line 52: wine: command not found
./install-illustrator-2021.sh: line 54: wine: command not found
./install-illustrator-2021.sh: line 55: wine: command not found
./install-illustrator-2021.sh: line 57: wine: command not found
./install-illustrator-2021.sh: line 58: wine: command not found
rm: cannot remove '/home/USER/.local/share/icons/illustrator2021.png': No such file or directory
--2023-07-20 12:26:55--  https://lulucloud.mywire.org/FileHosting/GithubProjects/Illustrator/illustrator2021.png
Resolving lulucloud.mywire.org (lulucloud.mywire.org)... 94.72.141.164
Connecting to lulucloud.mywire.org (lulucloud.mywire.org)|94.72.141.164|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 59827 (58K) [image/png]
Saving to: ‘/home/USER/.local/share/icons/illustrator2021.png’

/home/USER/.local/share/icons/illustrator2021.png     100%[===================================================================================================================>]  58.42K  95.1KB/s    in 0.6s    

2023-07-20 12:26:57 (95.1 KB/s) - ‘/home/USER/.local/share/icons/illustrator2021.png’ saved [59827/59827]
.
...
.
.
.
.
Illustrator installed, you can close this window

And this is the error message I got when running the command from the .desktop file in terminal:

002c:fixme:winediag:LdrInitializeThunk wine-staging 7.12 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
0104:err:module:import_dll Library MSVCP140_CODECVT_IDS.dll (which is needed by L"C:\\Program Files\\Adobe Illustrator 2021\\Support Files\\Contents\\Windows\\Illustrator.exe") not found
0104:err:module:LdrInitializeThunk Importing dlls for L"C:\\Program Files\\Adobe Illustrator 2021\\Support Files\\Contents\\Windows\\Illustrator.exe" failed, status c0000135

How should I proceed?

stpnwf commented 1 year ago

I tried reinstalling again to a custom path like you suggest here but have the same issue/output =/

MiMillieuh commented 1 year ago

Installing in bottles won't work at least when I've tried it didin't.

Photoshop might work but with issues.

These haven't been made to run in bottles or lutris. maybe they don't work well due to the sandboxing.

stpnwf commented 1 year ago

Yes, I gave up trying to install via Lutris or Bottles.

I should have been more clear; the errors come from trying to install them as intended, from the script, directly to my laptop Fedora 38.

MiMillieuh commented 1 year ago

May I have more informations about your system and wine versions ?

stpnwf commented 1 year ago

What other information about my system would you like? I run Fedora 38 Gnome

I don't think I installed wine on my laptop, bc under Requirements you say that wine was bundled with the installer. Should I have installed it with dnf?

I do have Lutris installed (via flatpak) and I use it for some games, but because of Flatpak sandboxing I don't think that the Wine it uses should affect the installation via your script.

I don't know if I have "appmenu-gtk-module" installed though. Couldn't find it in DNF repos

stpnwf commented 1 year ago

Hi, in the README, when you say this:

Requirements

wine (bundeled with the installer)

Do you mean that I don't need to have it installed on my system bc running the script will automatically install it?

MiMillieuh commented 1 year ago

Hi, in the README, when you say this:

Requirements

wine (bundeled with the installer)

Do you mean that I don't need to have it installed on my system bc running the script will automatically install it?

You may need wine to have the necessary dependencies and init, but the correct wine version is bundled with it since I had to modify a wine build to get Illustrator working.

I recommend installing the latest version of wine for your distro (non staging)

stpnwf commented 1 year ago

That did it. It is far from perfect, but it is definitely usable! Thanks!