Illipro.exe gives cannot create setup.exe

Questions about Wine on Linux
Post Reply
k3ck3c
Level 2
Level 2
Posts: 40
Joined: Wed Oct 22, 2014 12:42 am

Illipro.exe gives cannot create setup.exe

Post by k3ck3c » Wed Jan 01, 2020 5:25 pm

Hello

Ubuntu 18.04
wine-4.12.1 (Staging)

I try to use Illipro.exe from Legrand with wine on Linux
I get the software from
https://www.legrand.fr/pro/outils/appli ... lectriques

when I create a 32 bit wine prefix and launch the installation,

Code: Select all

WINEARCH=win32 WINEPREFIX=~/.wine_illipro winecfg
WINEARCH=win32 WINEPREFIX=~/.wine_illipro wine ~/Téléchargements/Setup_illiPro_V2050_072019.exe
I get
cannot create setup.exe
cannot create data1.cab
cannot create Issetup.dll
Thanks for any hint

jkfloris
Level 7
Level 7
Posts: 786
Joined: Thu Aug 14, 2014 10:10 am

Re: Illipro.exe gives cannot create setup.exe

Post by jkfloris » Thu Jan 02, 2020 6:01 am

Do you have enough free space and write acces?

Code: Select all

df -h ~/.wine_illipro/drive_c
ls -asl ~/.wine_illipro/drive_c
Was the download successful?

Code: Select all

sha1sum ~/Téléchargements/Setup_illiPro_V2050_072019.exe
  7fdab28a3a8bb2c64a21440ad43a3ca261ff20b7
Does it make any difference if you move the setup file inside the wineprefix?

Code: Select all

mv ~/Téléchargements/Setup_illiPro_V2050_072019.exe ~/.wine_illipro/drive_c/Setup_illiPro_V2050_072019.exe
cd ~/.wine_illipro/drive_c/
WINEPREFIX=~/.wine_illipro wine Setup_illiPro_V2050_072019.exe

k3ck3c
Level 2
Level 2
Posts: 40
Joined: Wed Oct 22, 2014 12:42 am

Re: Illipro.exe gives cannot create setup.exe

Post by k3ck3c » Thu Jan 02, 2020 12:41 pm

Hello

I have enough space, the download was sucessfull, it makes no difference

Code: Select all

gg@gg-UX305UA:~$ df -h ~/.wine_illipro/drive_c
Sys. de fichiers            Taille Utilisé Dispo Uti% Monté sur
/dev/mapper/ubuntu--vg-root   915G    230G  640G  27% /
gg@gg-UX305UA:~$ ls -asl ~/.wine_illipro/drive_c
total 28
4 drwxr-xr-x  6 gg gg 4096 janv.  1 22:10  .
4 drwxr-xr-x  4 gg gg 4096 janv.  1 23:16  ..
4 drwxr-xr-x  3 gg gg 4096 janv.  1 22:10  ProgramData
4 drwxr-xr-x  6 gg gg 4096 janv.  1 22:09 'Program Files'
4 drwxr-xr-x  4 gg gg 4096 janv.  1 22:10  users
4 drwxr-xr-x 14 gg gg 4096 janv.  1 23:14  windows
4 -rw-r--r--  1 gg gg    9 janv.  1 22:09  .windows-serial
gg@gg-UX305UA:~$ sha1sum ~/Téléchargements/Setup_illiPro_V2050_072019.exe
7fdab28a3a8bb2c64a21440ad43a3ca261ff20b7  /home/gg/Téléchargements/Setup_illiPro_V2050_072019.exe
gg@gg-UX305UA:~$ mv ~/Téléchargements/Setup_illiPro_V2050_072019.exe ~/.wine_illipro/drive_c/Setup_illiPro_V2050_072019.exe
gg@gg-UX305UA:~$ cd ~/.wine_illipro/drive_c/
gg@gg-UX305UA:~/.wine_illipro/drive_c$ WINEPREFIX=~/.wine_illipro wine Setup_illiPro_V2050_072019.exe
009e:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
009e:fixme:shell:SHAutoComplete stub

I still have the same messages

Code: Select all

Extracting files to C:\users\gg\Temp\illipro2050.tmp folder
Extracting from Setup_illiPro_V2050_072019.exe
Cannot create setup.exe
Cannot create data1.cab
Cannot create ISSetup.dll
Image

jkfloris
Level 7
Level 7
Posts: 786
Joined: Thu Aug 14, 2014 10:10 am

Re: Illipro.exe gives cannot create setup.exe

Post by jkfloris » Thu Jan 02, 2020 2:14 pm

You can manually extract the files and run the installation program.

Code: Select all

cd ~/Téléchargements
7z -oilli x Setup_illiPro_V2050_072019.exe
cd illi
# The installer complained about mfc42 to me
WINEPREFIX=~/.wine_illipro winetricks -q mfc42
WINEPREFIX=~/.wine_illipro wine setup.exe

k3ck3c
Level 2
Level 2
Posts: 40
Joined: Wed Oct 22, 2014 12:42 am

Re: Illipro.exe gives cannot create setup.exe

Post by k3ck3c » Fri Jan 03, 2020 5:51 am

Hello

When extracting, I get

Code: Select all

gg@gg-UX305UA:~/Téléchargements$ 7z -oilli x Setup_illiPro_V2050_072019.exe

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=fr_FR.UTF-8,Utf16=on,HugeFiles=on,64 bits,4 CPUs Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz (406E3),ASM,AES-NI)

Scanning the drive for archives:
1 file, 393445336 bytes (376 MiB)

Extracting archive: Setup_illiPro_V2050_072019.exe
--       
Path = Setup_illiPro_V2050_072019.exe
Type = PE
Physical Size = 393445336
CPU = x86
Characteristics = Executable 32-bit NoRelocs
Created = 2014-06-10 18:11:07
Headers Size = 1024
Checksum = 393467273
Image Size = 434176
Section Alignment = 4096
File Alignment = 512
Code Size = 165376
Initialized Data Size = 124928
Uninitialized Data Size = 0
Linker Version = 9.0
OS Version = 5.0
Image Version = 0.0
Subsystem Version = 5.0
Subsystem = Windows GUI
DLL Characteristics = NX-Compatible TerminalServerAware
Stack Reserve = 1048576
Stack Commit = 4096
Heap Reserve = 1048576
Heap Commit = 4096
Image Base = 4194304
----
Path = [0]
Size = 393150592
Packed Size = 393150592
Virtual Size = 393150592
Offset = 291328
--
Path = [0]
Type = Rar
Physical Size = 393150592
Solid = -
Blocks = 1523
Multivolume = -
Volumes = 1

ERROR: Unsupported Method : msxml6.msi
ERROR: Unsupported Method : setup.exe
ERROR: Unsupported Method : setup.ini
ERROR: Unsupported Method : Bases/BaseLang.mdb
ERROR: Unsupported Method : Bases/Legrand.mdb
ERROR: Unsupported Method : Bases/Tarif.mdb
...
ERROR: Unsupported Method : data1.hdr
ERROR: Unsupported Method : data2.cab
ERROR: Unsupported Method : Data3.cab
ERROR: Unsupported Method : ISSetup.dll
ERROR: Unsupported Method : layout.bin
                     
Sub items Errors: 971

Archives with Errors: 1

Sub items Errors: 971

If I go on, I get

Code: Select all

gg@gg-UX305UA:~/Téléchargements$  cd illi
gg@gg-UX305UA:~/Téléchargements/illi$ WINEARCH=win32 WINEPREFIX=~/.wine_illipro winetricks -q mfc42
Using winetricks 20191224-next - sha256sum: d8ac5e46ad4351faf3a3c6879044d059488001f3dd9364a5651c9e041cb97326 with wine-4.12.1 (Staging) and WINEARCH=win32
Executing w_do_call mfc42
mfc42 already installed, skipping
gg@gg-UX305UA:~/Téléchargements/illi$ WINEARCH=win32 WINEPREFIX=~/.wine_illipro wine setup.exe
000b:fixme:winediag:start_process Wine Staging 4.12.1 is a testing version containing experimental patches.
000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
wine: Mauvais format EXE pour Z:\home\gg\Téléchargements\illi\setup.exe.
gg@gg-UX305UA:~/Téléchargements/illi$ 

jkfloris
Level 7
Level 7
Posts: 786
Joined: Thu Aug 14, 2014 10:10 am

Re: Illipro.exe gives cannot create setup.exe

Post by jkfloris » Fri Jan 03, 2020 6:20 am

Code: Select all

ERROR: Unsupported Method : msxml6.msi
ERROR: Unsupported Method : setup.exe
ERROR: Unsupported Method : setup.ini
ERROR: Unsupported Method : Bases/BaseLang.mdb
ERROR: Unsupported Method : Bases/Legrand.mdb
ERROR: Unsupported Method : Bases/Tarif.mdb
...
ERROR: Unsupported Method : data1.hdr
ERROR: Unsupported Method : data2.cab
ERROR: Unsupported Method : Data3.cab
ERROR: Unsupported Method : ISSetup.dll
ERROR: Unsupported Method : layout.bin
This indicates that the file is damaged.
Could you download the file again?

[edit]
After comparing your terminal output and the output I get (they are the same!), I think the problem is somewhere else.
I'm out of ideas

I get:

Code: Select all

7z l Setup_illiPro_V2050_072019.exe 

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=nl_NL.utf8,Utf16=on,HugeFiles=on,64 bits,4 CPUs Intel(R) Core(TM) i5-7600 CPU @ 3.50GHz (906E9),ASM,AES-NI)

Scanning the drive for archives:
1 file, 393445336 bytes (376 MiB)

Listing archive: Setup_illiPro_V2050_072019.exe

--
Path = Setup_illiPro_V2050_072019.exe
Type = PE
Physical Size = 393445336
CPU = x86
Characteristics = Executable 32-bit NoRelocs
Created = 2014-06-10 18:11:07
Headers Size = 1024
Checksum = 393467273
Image Size = 434176
Section Alignment = 4096
File Alignment = 512
Code Size = 165376
Initialized Data Size = 124928
Uninitialized Data Size = 0
Linker Version = 9.0
OS Version = 5.0
Image Version = 0.0
Subsystem Version = 5.0
Subsystem = Windows GUI
DLL Characteristics = NX-Compatible TerminalServerAware
Stack Reserve = 1048576
Stack Commit = 4096
Heap Reserve = 1048576
Heap Commit = 4096
Image Base = 4194304
----
Path = [0]
Size = 393150592
Packed Size = 393150592
Virtual Size = 393150592
Offset = 291328
--
Path = [0]
Type = Rar
Physical Size = 393150592
Solid = -
Blocks = 1523
Multivolume = -
Volumes = 1

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2010-06-01 08:51:38 ....A      1528320       874925  msxml6.msi
2019-07-09 09:49:02 ....A       815416       301967  setup.exe
2019-07-09 09:46:00 ....A         2388          863  setup.ini
2019-07-08 11:35:16 ....A     14127104      1231245  Bases/BaseLang.mdb
2019-07-10 10:53:14 ....A     18837504      1974981  Bases/Legrand.mdb
...
2019-07-10 12:02:21 D....            0            0  Racine/Plans
2019-07-10 12:02:14 D....            0            0  Bases
2019-07-10 12:02:21 D....            0            0  Racine
------------------- ----- ------------ ------------  ------------------------
2019-07-10 12:02:21          455437671    393036883  1509 files, 14 folders


k3ck3c
Level 2
Level 2
Posts: 40
Joined: Wed Oct 22, 2014 12:42 am

Re: Illipro.exe gives cannot create setup.exe

Post by k3ck3c » Fri Jan 03, 2020 9:42 am

this is weird, on 2 differents computers, I download again, sha1sum is ok, but I still get the error message on all the files when extracting.

jkfloris
Level 7
Level 7
Posts: 786
Joined: Thu Aug 14, 2014 10:10 am

Re: Illipro.exe gives cannot create setup.exe

Post by jkfloris » Fri Jan 03, 2020 11:36 am

Did you install the p7zip-rar package?

k3ck3c
Level 2
Level 2
Posts: 40
Joined: Wed Oct 22, 2014 12:42 am

Re: Illipro.exe gives cannot create setup.exe

Post by k3ck3c » Fri Jan 03, 2020 11:52 am

No it wasn't!

after installing, the unzip has no error, the setup is intalling

thanks!

k3ck3c
Level 2
Level 2
Posts: 40
Joined: Wed Oct 22, 2014 12:42 am

Re: Illipro.exe gives cannot create setup.exe

Post by k3ck3c » Mon Jan 06, 2020 1:41 pm

after the installation, I click on the icon in order to use it and get the message

Code: Select all

l'objet ne gere pas cette action
So I do in a terminal the same command, adding WINEDEBUG=loaddl

I get

Code: Select all

$ WINEPREFIX="/home/gg/.wine_illipro" WINEDEBUG=loaddll /opt/wine-staging/bin/wine C:\\\\windows\\\\command\\\\start.exe /Unix /home
/gg/.wine_illipro/dosdevices/c:/users/Public/Bureau/illiPro.lnk 2>aaa
$ grep Unloa aaa
00f2:trace:loaddll:free_modref Unloaded module L"C:\\windows\\system32\\SXS.DLL" : builtin
001e:trace:loaddll:free_modref Unloaded module L"C:\\windows\\system32\\drivers\\winehid.sys" : builtin
001e:trace:loaddll:free_modref Unloaded module L"C:\\windows\\system32\\hidclass.sys" : builtin
001e:trace:loaddll:free_modref Unloaded module L"C:\\windows\\system32\\drivers\\winebus.sys" : builtin

This is weird, because if I look for this SXS.DLL, I find it, but in lowercase

Thanks for any hint

Code: Select all

$ find ~/.wine_illipro/ -name "sxs*"
/home/gg/.wine_illipro/drive_c/windows/system32/sxs.dll
$

Post Reply