Code Monkey home page Code Monkey logo

wine32-deploy's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

ebababi xongolo

wine32-deploy's Issues

Suggested command is wrong?

me@host:~$ Downloads/Wine-4.21-x86_64.AppImage --winetricks testbottle
/tmp/.mount_Wine-4l5P41T/AppRun: line 16: [: too many arguments

You must create a bottle first!
It can be done with:

/home/me/Downloads/Wine-4.21-x86_64.AppImage testbottle create-bottle 

me@host:~$ /home/me/Downloads/Wine-4.21-x86_64.AppImage testbottle create-bottle 
/tmp/.mount_Wine-4Aqu3VH/AppRun: line 16: [: too many arguments
Error: 'testbottle' is not a valid command

I think the suggested command is wrong?

Copy-and-paste-able hello world

Hi, very cool project. Would it be possible to have a Copy-cand-paste-able hello world that would make an AppImage for a simple Windows app?

Apply themes

Hello!

I tried to use themes, but it was unsuccessful:
I applied the pre-installed kupofl theme. It works when I simply run the project. However, when I generate the AppDir or create the AppImage, it doesn't work anymore - the theme returns to the default.
I also tried to enable and disable the flags "disable-kupofl-theme" and "disable-window-decoration".

When I check the file "default.reg" in the .AppDir, I find the correct theme:

REGEDIT4

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ThemeManager]
"ColorName"="NormalColor"
"DllName"="C:\\windows\\Resources\\Themes\\kupofl\\kupofl.msstyles"
"ThemeActive"="1"
"SizeName"="LargeFonts"

Steps to reproduce:

# Copy the .exe file to prefix/drive_c/Program Files/
# Set it as the main executable 
# Run
./Wine-4.21-x86_64.AppImage winecfg "Bottle name"
# and change the theme
# Create the AppDir
./Wine-4.21-x86_64.AppImage create-appdir "Bottle name"
# Test it
./Wine-4.21-x86_64.AppImage test "Bottle name"

This issue doesn't cause any problem to the application, but I would like to make the software more beautiful.

Thank you!

Question: Deploy TeamViewer

Here is a challenge that is not 100% directly related to this repository but maybe you know how this could be solved.

I am trying to bundle TeamViewer 9 as an AppImage. It comes as a deb but has dependencies on 32bit libraries that are no longer available on recent systems, so it is a worthwhile candidate for making an AppImage.

Now, TeamViewer comes with its own version of WINE which may or may not be patched in special ways. In any case, I would like to use the TeamViewer WINE because that one is what it had been tested with.

Do you think it is possible to make an AppImage using LD_PRELOAD trickery for TeamViewer 9 using the WINE it comes with?

Here is the deb:
https://dl.teamviewer.com/download/version_9x/teamviewer_linux_x64.deb

There is also a tar.gz which supposedly is portable, but it too requires 32-bit libraries (which are no longer available for recent versions of Ubuntu):

https://community.teamviewer.com/t5/Knowledge-Base/Download-TeamViewer-8-and-9/ta-p/78348#toc-hId-414996891

me@host:~$ cat ./Desktop/teamviewer9/logfiles/startup.log

(...)

FONTCONFIG_FILE: fonts_portable.conf
/home/me/Desktop/teamviewer9/tv_bin/script/tvw_exec: line 34: /home/me/Desktop/teamviewer9/tv_bin/wine/bin/wineserver: No such file or directory
/home/me/Desktop/teamviewer9/tv_bin/script/tvw_profile: line 124: /home/me/Desktop/teamviewer9/tv_bin/wine/bin/wine: No such file or directory
/home/me/Desktop/teamviewer9/tv_bin/script/tvw_profile: line 124: /home/me/Desktop/teamviewer9/tv_bin/wine/bin/wine: No such file or directory
/home/me/Desktop/teamviewer9/tv_bin/script/tvw_profile: line 124: /home/me/Desktop/teamviewer9/tv_bin/wine/bin/wine: No such file or directory
/home/me/Desktop/teamviewer9/tv_bin/script/tvw_profile: line 124: /home/me/Desktop/teamviewer9/tv_bin/wine/bin/wine: No such file or directory

me@host:~$ sudo apt-get install ia32-libs
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  lib32ncurses5 lib32z1

E: Package 'ia32-libs' has no installation candidate

Open regedit

Thanks for that great project. How exactly can I execute regedit within the bottle?
I want to execute this command within the bottle:

wine reg add 'HKCU\Software\Valve\Steam' /v DWriteEnable /t REG_DWORD /d 00000000

"test" works, packaged AppImage doesn't.

I have a proprietary closed-source Windows app that I'm trying to package with this tool.

I went through all the steps in the readme, and ./Wine-4.21-x86_64.AppImage test MyTool correctly runs my Windows app on Linux. Packaging it into an AppImage with ./Wine-4.21-x86_64.AppImage package MyTool also works without errors, but when I start the resulting AppImage, wine starts, takes a second, and exits again without printing any errors.

Is there any additional debug logging I could activate to find the difference between testing mode and packaging mode?

Cannot install msi

Cannot install this msi:

Download https://www.fonttools.org/downloads/OTMA/OTM_Light_370_WIN.zip, it contains a msi installer.

me@host:~$ /home/me/Downloads/Wine-4.21-x86_64.AppImage install otm /home/me/Downloads/DTL\ OTMaster\ Light\ 3.7.0.msi 

Starting installer /home/me/Downloads/DTL OTMaster Light 3.7.0.msi in otm...
0009:err:module:__wine_process_init failed to load L"Z:\\home\\me\\Downloads\\DTL OTMaster Light 3.7.0.msi", error c000012f
ERROR: ld.so: object '/tmp/.mount_Wine-4LTyXwp/bin/libhookexecv.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/tmp/.mount_Wine-4LTyXwp/bin/libhookexecv.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.

consistent program name?

Good project. but i got confused.
not sure why the appimage is name just Wine (Wine-4.21-x86_64.AppImage). I thought it was the actual wine program =)

would make more sense with:
wine32-deploy-4.21-x86_64.AppImage

also a usage for the appimage would be nice for the frontpage

chmod +x wine32-deploy-4.21-x86_64.AppImage
./wine32-deploy-4.21-x86_64.AppImage --help

Wine Prefix set to SumatraPDF directory?

WineAppRun.sh seems to be hard-coded to set the wine prefix directory to ~/.config/SumatraPDF

Seems a bit odd and may be related to issues with minimization, but I'm not sure.

Further minimization

What is the theory of operation for the current minimization strategy?

By examining, at runtime, which files are actually needed, it may be possible to bring down the AppImage size even further, by bundling a narrower subset of Wine and its dependencies (only those that are actually needed by the particular app).

Here is a comparison:

Using the minimization technique outlined in https://github.com/probonopd/libhookexecv#minimizing I was able to reduce the size by more than three quarters!

My build is heaps smaller in size than the release, doesn't work

Pulled from github today for the fix in readlink issue, and my resulting build is 151868K as opposed to the release which is 346940K which makes me believe something is missing from my build.

my target now does not complain about WINEPREFIX, instead it complains:

Starting C:/windows/explorer.exe...
/tmp/.mount_Wine-4hidcOn/wineserver:  line 35: /tmp/.mount_Wine-4hidcOn/lib/ld-linux.so.2: No such file or directory  
/tmp/.mount_Wine-4hidcOn/wineserver:  line 35: /tmp/.mount_Wine-4hidcOn/lib/ld-linux.so.2: No such file or directory 

I note in Wine.AppDir/lib that ld-linux.so.2 in not there.

find . | grep ld-linux in the win32-deploy folder finds nothing.

My build went as follows...

hip@hip-Precision-5530:~/mkappimg/wine32-deploy$ sudo ./build.sh
[sudo] password for hip: 
Hit:1 http://au.archive.ubuntu.com/ubuntu disco InRelease
Hit:2 https://dl.winehq.org/wine-builds/ubuntu disco InRelease                                                                                                                              
Hit:3 http://au.archive.ubuntu.com/ubuntu disco-updates InRelease                                                                                                                           
Hit:4 http://au.archive.ubuntu.com/ubuntu disco-backports InRelease                                                                                                
Hit:5 http://packages.microsoft.com/repos/vscode stable InRelease                                                                                                  
Hit:6 http://security.ubuntu.com/ubuntu disco-security InRelease                                         
Hit:7 http://ppa.launchpad.net/gezakovacs/ppa/ubuntu disco InRelease
Hit:8 http://linux.teamviewer.com/deb stable InRelease                                  
Hit:9 http://ppa.launchpad.net/obsproject/obs-studio/ubuntu disco InRelease
Reading package lists... Done
Building dependency tree       
Reading state information... Done
6 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
gzip is already the newest version (1.9-3).
wget is already the newest version (1.20.1-1ubuntu4).
aptitude is already the newest version (0.8.11-3ubuntu1).
cabextract is already the newest version (1.9-2).
bzip2 is already the newest version (1.0.6-9ubuntu0.19.04.1).
curl is already the newest version (7.64.0-2ubuntu1.2).
file is already the newest version (1:5.35-4ubuntu0.1).
0 to upgrade, 0 to newly install, 0 to remove and 6 not to upgrade.
libhookexecv.so                                      100%[=====================================================================================================================>]   7.26K  --.-KB/s    in 0s      
2020-03-27 13:24:59 URL:https://github-production-release-asset-2e65be.s3.amazonaws.com/128619090/ba77b800-1281-11e9-8bdf-dac6c7d5c5e9?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200327%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200327T032458Z&X-Amz-Expires=300&X-Amz-Signature=48922ae86b87e5cea575a5ce97ae68725b90128d2b8d56d3e4ce0089af7ba1ec&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dlibhookexecv.so&response-content-type=application%2Foctet-stream [7432/7432] -> "libhookexecv.so" [1]
wine-preloader_hook                                  100%[=====================================================================================================================>] 715.33K   388KB/s    in 1.8s    
2020-03-27 13:25:03 URL:https://github-production-release-asset-2e65be.s3.amazonaws.com/128619090/bb104e80-1281-11e9-86b9-79a5c03c1c09?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200327%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200327T032500Z&X-Amz-Expires=300&X-Amz-Signature=1bb64316db35af494312ad8f2aa37a1a90fa0b3c403f712112c799daa220e73e&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dwine-preloader_hook&response-content-type=application%2Foctet-stream [732496/732496] -> "wine-preloader_hook" [1]
winetricks                                           100%[=====================================================================================================================>] 823.36K  --.-KB/s    in 0.1s    
2020-03-27 13:25:03 URL:https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks [843118/843118] -> "winetricks" [1]
FINISHED --2020-03-27 13:25:03--
Total wall clock time: 9.0s
Downloaded: 3 files, 1.5M in 2.0s (779 KB/s)
The following NEW packages will be installed:
  cups:i386{b} cups-filters:i386{ab} cups-filters-core-drivers:i386{ab} fonts-wine{a} libcupsfilters1:i386{a} libcupsimage2:i386{a} libfontembed1:i386{a} libgutenprint9:i386{ab} libnspr4:i386{a} 
  libnss3:i386{a} libpoppler85:i386{a} libqpdf21:i386{a} libwine:i386 printer-driver-cups-pdf:i386 printer-driver-gutenprint:i386{ab} 
0 packages upgraded, 15 newly installed, 0 to remove and 6 not to upgrade.
Need to get 864 kB/28.0 MB of archives. After unpacking 230 MB will be used.
The following packages have unmet dependencies:
 cups-filters : Conflicts: cups-filters:i386 but 1.22.5-1 is to be installed
 cups-filters:i386 : Conflicts: cups-filters but 1.22.5-1 is installed
 printer-driver-gutenprint : Conflicts: printer-driver-gutenprint:i386 but 5.3.1-7build1 is to be installed
 printer-driver-gutenprint:i386 : Conflicts: printer-driver-gutenprint but 5.3.1-7build1 is installed
 libgutenprint9 : Conflicts: libgutenprint9:i386 but 5.3.1-7build1 is to be installed
 libgutenprint9:i386 : Depends: libgutenprint-common:i386 (>= 5.3.1-7build1) which is a virtual package and is not provided by any available package

                       Conflicts: libgutenprint9 but 5.3.1-7build1 is installed
 cups-filters-core-drivers : Conflicts: cups-filters-core-drivers:i386 but 1.22.5-1 is to be installed
 cups-filters-core-drivers:i386 : Conflicts: cups-filters-core-drivers but 1.22.5-1 is installed
 cups : Conflicts: cups:i386 but 2.2.10-4ubuntu2.1 is to be installed
 cups:i386 : Conflicts: cups but 2.2.10-4ubuntu2.1 is installed
The following actions will resolve these dependencies:

      Remove the following packages:                                                        
1)      cups [2.2.10-4ubuntu2.1 (disco-security, disco-updates, now)]                       
2)      cups-core-drivers [2.2.10-4ubuntu2.1 (disco-security, disco-updates, now)]          
3)      cups-filters [1.22.5-1 (disco, now)]                                                
4)      cups-filters-core-drivers [1.22.5-1 (disco, now)]                                   
5)      hplip [3.19.1+dfsg0-1 (disco, now)]                                                 
6)      printer-driver-foo2zjs [20171202dfsg0-2 (disco, now)]                               
7)      printer-driver-gutenprint [5.3.1-7build1 (disco, now)]                              
8)      printer-driver-hpcups [3.19.1+dfsg0-1 (disco, now)]                                 
9)      printer-driver-m2300w [0.51-13 (disco, now)]                                        
10)     printer-driver-pxljr [1.4+repack0-5 (disco, now)]                                   
11)     printer-driver-splix [2.0.0+svn315-7fakesync1 (disco, now)]                         

      Install the following packages:                                                       
12)     cups-core-drivers:i386 [2.2.10-4ubuntu2.1 (disco-security, disco-updates)]          

      Keep the following packages at their current version:                                 
13)     libgutenprint9:i386 [Not Installed]                                                 
14)     printer-driver-gutenprint:i386 [Not Installed]                                      

      Leave the following dependencies unresolved:                                          
15)     foomatic-db-compressed-ppds recommends cups-filters (>= 1.0.42) | foomatic-filters  
16)     libsane-hpaio recommends hplip (= 3.19.1+dfsg0-1)                                   
17)     openprinting-ppds recommends cups-filters (>= 1.0.42) | foomatic-filters            
18)     printer-driver-foo2zjs-common recommends printer-driver-foo2zjs (>= 20171202dfsg0-2)
19)     cups recommends cups-filters (>= 1.0.42) | foomatic-filters                         
20)     cups recommends printer-driver-gutenprint                                           
21)     cups recommends cups-filters (>= 1.0.36) | ghostscript-cups                         
22)     ubuntu-desktop recommends cups-filters                                              
23)     ubuntu-desktop recommends hplip                                                     
24)     ubuntu-desktop recommends printer-driver-foo2zjs                                    
25)     ubuntu-desktop recommends printer-driver-m2300w                                     
26)     ubuntu-desktop recommends printer-driver-pxljr                                      
27)     ubuntu-desktop recommends printer-driver-splix                                      
28)     ubuntu-desktop-minimal recommends cups-filters                                      
29)     ubuntu-desktop-minimal recommends hplip                                             
30)     ubuntu-desktop-minimal recommends printer-driver-foo2zjs                            
31)     ubuntu-desktop-minimal recommends printer-driver-m2300w                             
32)     ubuntu-desktop-minimal recommends printer-driver-pxljr                              
33)     ubuntu-desktop-minimal recommends printer-driver-splix                              
34)     cups:i386 recommends printer-driver-gutenprint:i386                                 



The following packages have unmet dependencies:
 cups-filters-core-drivers:i386 : Depends: cups-ipp-utils:i386 but it is not going to be installed
The following actions will resolve these dependencies:

      Install the following packages:                                                     
1)      ippsample:i386 [0.0+20180213-0ubuntu1 (disco)]                                    
2)      liblouis-bin [3.8.0-2 (disco)]                                                    

      Leave the following dependencies unresolved:                                        
3)      foomatic-db-compressed-ppds recommends cups-filters (>= 1.0.42) | foomatic-filters
4)      openprinting-ppds recommends cups-filters (>= 1.0.42) | foomatic-filters          
5)      ubuntu-desktop recommends cups-filters                                            
6)      ubuntu-desktop recommends hplip                                                   
7)      ubuntu-desktop recommends printer-driver-foo2zjs                                  
8)      ubuntu-desktop recommends printer-driver-m2300w                                   
9)      ubuntu-desktop recommends printer-driver-pxljr                                    
10)     ubuntu-desktop recommends printer-driver-splix                                    
11)     ubuntu-desktop-minimal recommends cups-filters                                    
12)     ubuntu-desktop-minimal recommends hplip                                           
13)     ubuntu-desktop-minimal recommends printer-driver-foo2zjs                          
14)     ubuntu-desktop-minimal recommends printer-driver-m2300w                           
15)     ubuntu-desktop-minimal recommends printer-driver-pxljr                            
16)     ubuntu-desktop-minimal recommends printer-driver-splix                            



The following NEW packages will be installed:
  cups:i386 cups-core-drivers:i386{a} cups-filters:i386{a} cups-filters-core-drivers:i386{a} fonts-wine{a} ippsample:i386{a} libcupsfilters1:i386{a} libcupsimage2:i386{a} libfontembed1:i386{a} 
  liblouis-bin{a} libnspr4:i386{a} libnss3:i386{a} libpoppler85:i386{a} libqpdf21:i386{a} libwine:i386 printer-driver-cups-pdf:i386 
The following packages will be REMOVED:
  cups{a} cups-core-drivers{a} cups-filters{a} cups-filters-core-drivers{a} cups-ipp-utils{u} dc{u} hplip{a} hplip-data{u} libfontembed1{u} libgutenprint-common{u} libgutenprint9{u} libhpmud0{u} 
  liblouisutdml-bin{u} liblouisutdml-data{u} liblouisutdml8{u} libqpdf21{u} libsane-hpaio{u} mscompress{u} printer-driver-foo2zjs{a} printer-driver-foo2zjs-common{u} printer-driver-gutenprint{a} 
  printer-driver-hpcups{a} printer-driver-m2300w{a} printer-driver-postscript-hp{u} printer-driver-pxljr{a} printer-driver-splix{a} python3-pexpect{u} python3-ptyprocess{u} python3-renderpm{u} 
  python3-reportlab{u} python3-reportlab-accel{u} 
The following packages are RECOMMENDED but will NOT be installed:
  printer-driver-gutenprint:i386 
0 packages upgraded, 16 newly installed, 31 to remove and 6 not to upgrade.
Need to get 0 B/34.5 MB of archives. After unpacking 195 MB will be used.
                                         
Current status: 0 (-6) upgradable.
appimagetool-x86_64.AppImage  data	  flags		   LICENSE.md					    README.md  resources		  Wine.AppDir	       winetricks
build.sh		      Dockerfile  libhookexecv.so  PlayOnLinux-wine-4.21-upstream-linux-x86.tar.gz  recipes    Wine-4.21-x86_64.AppImage  wine-preloader_hook
/home/hip/mkappimg/wine32-deploy
wine32-deploy
appimagetool, continuous build (commit 7392c48), build 2120 built on 2020-03-10 18:42:43 UTC
Using architecture x86_64
/home/hip/mkappimg/wine32-deploy/Wine.AppDir should be packaged as Wine-x86_64.AppImage
WARNING: AppStream upstream metadata is missing, please consider creating it
         in usr/share/metainfo/wine.appdata.xml
         Please see https://www.freedesktop.org/software/appstream/docs/chap-Quickstart.html#sect-Quickstart-DesktopApps
         for more information or use the generator at http://output.jsbin.com/qoqukof.
Generating squashfs...
Parallel mksquashfs: Using 6 processors
Creating 4.0 filesystem on Wine-x86_64.AppImage, block size 131072.
[================================================================================================================================================================================================-] 5653/5653 100%

Exportable Squashfs 4.0 filesystem, gzip compressed, data block size 131072
	compressed data, compressed metadata, compressed fragments,
	compressed xattrs, compressed ids
	duplicates are removed
Filesystem size 151680.33 Kbytes (148.13 Mbytes)
	33.84% of uncompressed filesystem size (448170.51 Kbytes)
Inode table size 38319 bytes (37.42 Kbytes)
	35.77% of uncompressed inode table size (107132 bytes)
Directory table size 28577 bytes (27.91 Kbytes)
	44.63% of uncompressed directory table size (64033 bytes)
Number of duplicate files found 104
Number of inodes 2894
Number of files 2729
Number of fragments 396
Number of symbolic links  52
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 113
Number of ids (unique uids + gids) 1
Number of uids 1
	root (0)
Number of gids 1
	root (0)
Embedding ELF...
Marking the AppImage as executable...
Embedding MD5 digest
Success

Please consider submitting your AppImage to AppImageHub, the crowd-sourced
central directory of available AppImages, by opening a pull request
at https://github.com/AppImage/appimage.github.io

Notepad++ packaged appimage fails to launch

First commands install then I left run npp on setup as checked which executed the app fine then I create package. I'm using locally updated appimage downloaded from here earlier with current changes of 046054a

./Wine-x86_64.AppImage install notepadpp ../npp.7.8.3.Installer.exe
ERROR: ld.so: object '/tmp/.mount_Wine-xYPYgYa/bin/libhookexecv.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/tmp/.mount_Wine-xYPYgYa/bin/libhookexecv.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
0034:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.

./notepadpp-x86_64.AppImage 
wine-4.21
wine: configuration in L"/home/mmtrt/.config/notepadpp" has been updated.
Wine cannot find the ncurses library (libncurses.so.5).

npp

dll overrides not carrying over to AppDir

I tried to install something that requires vcrun2010. The program runs fine when I run the bottle but as soon as I test it I get the following

wine: Call from 0x7124d7a4 to unimplemented function msvcr100.dll.?Log2@details@Concurrency@@YAKI@Z, aborting

I looked at both the AppDir prefix and the bottle prefix with winecfg and none of the overrides are carried over and as much as I have tried I can't just add them in manually.

Minimize makes Appimage non-working

Hi,

thanks for this great work. I looked for something like this for a long time.

When I run the minimze command and then package the Appimage doesn't work. I get:

/tmp/.mount_SumatrALlRXc/wine: line 40: /tmp/.mount_SumatrALlRXc/lib/ld-linux.so.2: No such file or directory

but when I skip Minimize it works (but the size difference is quite noticeable :)). I'm trying to package the SumatraPDF reader as an Appimage, it's one single .exe, no installation. I just copy it into Program Files/sumatraPDF and go from there.

Would you have any idea on what's happening.

Thank you.

PS:Debian Stretch 64bits

wine: cannot find 'C:/Program Files/XXXX/ABCDE.exe'

I tried this on a few programs pretty much getting the same results after i package the files.
Test/run commands works no issues but the final AppImage output never works.
It always complains about e.g wine: cannot find 'C:/Program Files/AirPort/APUtil.exe'

This is the EXE file im installing: https://support.apple.com/kb/dl1547?locale=en_US

TEST/RUN Commands works

wine32-deploy-4.21-x86_64.AppImage set-main-executable AppleAirPort "C:/Program Files/AirPort/APUtil.exe"
wine32-deploy-4.21-x86_64.AppImage set-name AppleAirPort 'AirPort Utility v5.6.1.2'
wine32-deploy-4.21-x86_64.AppImage test AppleAirPort

Starting C:/Program Files/AirPort/APUtil.exe...
002e:err:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request failed with status 0x2733
wine: Call from 0x7124d7a4 to unimplemented function wlanapi.dll.WlanQueryInterface, aborting

wine32-deploy-4.21-x86_64.AppImage run AppleAirPort

[ 1/3 ] Creating Environment...

HOME=/tmp/tmp.xwzijtfppI
XDG_CONFIG_HOME=/tmp/tmp.xwzijtfppI/config
XDG_DATA_HOME=/tmp/tmp.xwzijtfppI/data
WINEPREFIX=/tmp/tmp.xwzijtfppI/config/AppleAirPort

[ 2/3 ] Initializing test...

wine: failed to update L"\??\Z:\tmp\tmp.xwzijtfppI\config\SumatraPDF" with L"\\?\Z:\media\Bankai\WINEBOTTLE\AppleAirPort.AppDir\lib\..\bin\..\share\wine\wine.inf": No such file or directory
regedit: Unrecognized escape sequence [\2]
regedit: Unrecognized escape sequence [\2]
regedit: Unrecognized escape sequence [\2]
regedit: The file '' was not found.
regedit: The file '' was not found.
regedit: The file '' was not found.
regedit: The file '' was not found.
regedit: The file '' was not found.
regedit: The file '' was not found.
regedit: The file '' was not found.

HOME=/tmp/tmp.xwzijtfppI
XDG_CONFIG_HOME=/tmp/tmp.xwzijtfppI/config
XDG_DATA_HOME=/tmp/tmp.xwzijtfppI/data
WINEPREFIX=/tmp/tmp.xwzijtfppI/config/SumatraPDF

000b:err:wineboot:process_run_key Error running cmd L"C:\windows\system32\winemenubuilder.exe -a -r" (2).
wine: failed to update L"\??\Z:\tmp\tmp.xwzijtfppI\config\SumatraPDF" with L"\\?\Z:\media\Bankai\WINEBOTTLE\AppleAirPort.AppDir\lib\..\bin\..\share\wine\wine.inf": No such file or directory
0027:err:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request failed with status 0x2733
wine: Call from 0x7124d7a4 to unimplemented function wlanapi.dll.WlanQueryInterface, aborting

[ 3/3 ] Ending test...

NOT WORKING after I package it

wine32-deploy-4.21-x86_64.AppImage package AppleAirPort
./AirPort_Utility_v5.6.1.2-x86_64.AppImage

HOME=/home/heoyea-ant
XDG_CONFIG_HOME=/home/heoyea-ant/.config
XDG_DATA_HOME=/home/heoyea-ant/.local/share
WINEPREFIX=/home/heoyea-ant/.config/SumatraPDF

wine: cannot find 'C:/Program Files/AirPort/APUtil.exe'

readlink -m is an invalid option

Hi there,

One target I have employs busybox, and complains when trying to run a bottle, that -m is an invalid option for readlink,

resulting in invalid WINEPREFIX, just after trying to start the executable.

how can I work around this?

Cheers,
Hip

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.