Problems installing a windows form app on raspberry pi

Questions about Wine on Linux
Locked
LaCoo
Newbie
Newbie
Posts: 1
Joined: Tue Aug 25, 2020 10:57 pm

Problems installing a windows form app on raspberry pi

Post by LaCoo »

Hi!

1. Wine Version: wine-1.8.7 (Raspbian 1.8.7-2)

2. Equipment: Raspberry Pi3 B+

3. Operating System: Linux raspberrypi 4.9.80-v7+ #1 SMP Sun Mar 25 11:02:49 UTC 2018 armv7l GNU/Linux

4. The problem that I encountered:
I made a simple windows form application just to show "Hello World" using Visual Studio 2017 Community. Also, I created a Windows installer project, making my application into a setup.exe & ProjectName.msi.

Next, I copied these .exe & .msi files to my Raspberry Pi and run them under WINE. (I placed these 2 files under "/home/pi/.wine/drive_c/windows".) Then I opened up a terminal:

Code: Select all

pi@raspberrypi:~ $ wine setup.exe
It showed

Code: Select all

err:process:create_process L"C:\\windows\\system32\\setup.exe" not supported on this installation (x86 binary)
wine: Bad EXE format for C:\windows\system32\setup.exe.
Then, I typed

Code: Select all

pi@raspberrypi:~ $ wine start UpCountSetup.msi
Then, it showed up the Setup Wizard[*1].

It asked me to select installation folder[*2]. I couldn't select the folder I want. When I clicked the "Browse" button, no folders were shown[*3].

I tried to proceed with the installation, and I clicked Next. However, the Setup Wizard showed, "Installation Incomplete: The installer was interrupted before project could be installed. You need to restart the installer to try again." (https://drive.google.com/file/d/1QIK8xw ... sp=sharing)

and the terminal showed these errors:

Code: Select all

pi@raspberrypi:~ $ wine start UpCountSetup.msi
pi@raspberrypi:~ $ err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:msi:cabinet_copy_file failed to create L"\\UpCount\\UpCount.exe" (error 3)
err:msi:extract_cabinet_stream FDICopy failed
err:msi:ACTION_InstallFiles Failed to extract cabinet: L"#_0B0F73305850037AF167C18AE0A06B21"
err:msi:ITERATE_Actions Execution halted, action L"InstallFiles" returned 1603
err:msi:ITERATE_Actions Execution halted, action L"ExecuteAction" returned 1603
Is it possible to install and run VS winform applications on Wine? If so, how and what should I do? :idea:

Thanks :)
Attachments
[*3] No Folders Were Shown
[*3] No Folders Were Shown
[*2] Select Installation Folder
[*2] Select Installation Folder
[*1] Setup Wizard
[*1] Setup Wizard
simple8888
Newbie
Newbie
Posts: 1
Joined: Wed Dec 08, 2021 7:47 am

Re: Problems installing a windows form app on raspberry pi

Post by simple8888 »

I have the same problem , asking for help.
daveweaton
Level 2
Level 2
Posts: 23
Joined: Mon Aug 30, 2021 2:14 am

Re: Problems installing a windows form app on raspberry pi

Post by daveweaton »

What are you running for an emulator on the Pi? If it's something like box86, be sure the app you are building in VS is built as a 32-bit app.
Locked