Wine

Build MSI in Wine

*爱你&永不变心* 提交于 2019-12-01 02:19:18
Hoping this is still on-topic for StackOverflow. I'm doing all my development on a Linux machine, but the code will be run by both Linux and Windows machines. I'd like to use Linux to compile the code, and I have mingw-32 and mingw-w64 for that. But I'd like to package the resulting executables into a nice MSI installation file. Is it possible to do this using utilities in Linux or running under Wine? Thanks! Hib Eris You can use a combination of Wine, Mono and WiX to create .msi packages on Linux. For openSUSE, I have created a wrapper package called wixwine which gives you the 'candle' and

Build MSI in Wine

喜你入骨 提交于 2019-11-30 21:47:31
问题 Hoping this is still on-topic for StackOverflow. I'm doing all my development on a Linux machine, but the code will be run by both Linux and Windows machines. I'd like to use Linux to compile the code, and I have mingw-32 and mingw-w64 for that. But I'd like to package the resulting executables into a nice MSI installation file. Is it possible to do this using utilities in Linux or running under Wine? Thanks! 回答1: You can use a combination of Wine, Mono and WiX to create .msi packages on

ubuntu 18.04安装qq等应用

為{幸葍}努か 提交于 2019-11-30 19:36:16
deepin-wine 关于deepin-wine的安装参考https://github.com/wszqkzqk/deepin-wine-ubuntu 安装qq后中文乱码的解决方案 1. 安装中文支持 选择manage installed languages 选择install/remove languages 找到Chinese并选择安装 2. 安装字体 参考该博客: https://blog.csdn.net/qq_39762401/article/details/98609633 来源: https://www.cnblogs.com/harrypotterjackson/p/11637696.html

How to call Wine dll from python on Linux?

寵の児 提交于 2019-11-30 15:07:54
问题 I'm writing a python script in Linux, and need to call some Windows functions available in Wine. Specifically, AllocateAndInitializeSid and LookupAccountSidW , to determine who is logged in to a remote Windows computer. These functions are part of advapi32.dll in Wine ( edit : using the answers, I was able to call the function, but LookupAccountSidW only works on the local computer). How can I access these functions, or a Wine dll in general? I've tried >>> cdll.LoadLibrary("~/.wine/drive_c

How to call Wine dll from python on Linux?

吃可爱长大的小学妹 提交于 2019-11-30 13:22:47
I'm writing a python script in Linux, and need to call some Windows functions available in Wine. Specifically, AllocateAndInitializeSid and LookupAccountSidW , to determine who is logged in to a remote Windows computer. These functions are part of advapi32.dll in Wine ( edit : using the answers, I was able to call the function, but LookupAccountSidW only works on the local computer). How can I access these functions, or a Wine dll in general? I've tried >>> cdll.LoadLibrary("~/.wine/drive_c/windows/system32/advapi32.dll") but it results in an error: OSError: ~/.wine/drive_c/windows/system32

Execute Shell Commands from Program running in WINE

夙愿已清 提交于 2019-11-30 07:09:10
I have a windows program running on Linux using WINE. How can I call Linux shell commands from the windows program? Edit: user1182474's comment is correct; Wine doesn't isolate the programs it runs. (It tries to hide it, but not very thoroughly.) I totally failed at using Google. Psen's comment below is more correct, and references the FAQ. (Note that, for that to work, you may need to have the program's directory available through a Wine drive mapping. Or, see Anonymous Replier's answer.) == Old Answer == Wine isolates the programs it runs. The applications are, if all works as intended,

Sending keycode to Xorg + wine with bash script

匆匆过客 提交于 2019-11-29 23:33:27
问题 How do I send keycode to currently running application in linux which is running under wine? I would like the it to be under bash for simplicity. 回答1: Use package called xvkbd . It should be within every linux distribution. Syntax is simple: xvkbd -text [line of keycodes] For example running Warcraft 3 game with automatic Battle.net login would be: #!/bin/bash cd ~/.wine/drive_c/Program\ Files/Warcraft3/ wine euroloader.exe -opengl > /dev/null 2> /dev/null & # run W3 sleep 5; # wait until

Using Component Object Model (COM) on non-Microsoft platforms

杀马特。学长 韩版系。学妹 提交于 2019-11-29 20:08:22
I'm regularly running into similar situations : I have a bunch of COM .DLLs (no IDL files) which I need to use and invoke to be able to access some foreign (non-open, non-documented) data format. Microsoft's Visual Studio platform has very nice capabilities to import such COM DLLs and use them in my project (Visual C++'s #import directive, or picking and adding them using Visual Basic .NET's dialogs) - and that's the vendors recommended way to use them. I would be interested into finding a way to use those DLLs on non-microsoft development platforms. Namely, using these COM classes in C++

Are there any way to link my program with Wine-compiled part?

╄→尐↘猪︶ㄣ 提交于 2019-11-29 08:11:38
I am trying to use windows dll functionality in Linux. My current solution is a compilation of a separate wine application, that uses dll and transfer requests/responses between dll and main application over IPC. This works, but is a real overhead comparing to a simple dll calls. I see that wine-compiled program usually is a bootstrapping-script and some .so, which (according to file utility) is normal linux dynamically linked library. Are there any way to link that .so directly to my application? Are there any manual? You may be able to use Winelib to write a Linux app that can use Windows

Linux CentOS 7上安装极点五笔

倾然丶 夕夏残阳落幕 提交于 2019-11-29 06:51:49
话说几天前在新买的惠普笔记本上成功地安装了Linux CentOS 7操作系统、Nvidia Quandro P600驱动程序及X Window,并在VMware下安装Red Hat教学环境,彻底跳出Windows的苦海,但仍然有一件事不让我省心:五笔字型输入法。搜狗煞有介事地开发了一个Linux版输入法,却是拼音版的!语音录入全球第一的讯飞,没有提供Linux版。找来找去,Linux操作系统上,只有海峰五笔和极点五笔可用——感谢他们的无私奉献——海峰五笔安装之后,完全不显示;而极点五笔则只能输入单字,让人抓狂! 将笔记本放在家里两周后,我突然想起来,有一种程序,能在Linux上运行Windows应用程序,比如说输入法!全世界只有一家公司在做这种事情,他们开发了两个版本:一个商业版的,叫CrossOver,一个免费版的,叫Wine。安装非常简单: # yum install epel-release # yum install wine 再下载搜狗五笔,运行安装,只跳出来一个出错的对话框,一个红叉叉,一个字都没有。算了,卸载吧!我甚至想把操作系统换成Ubuntu。后来,我想还是配置的问题,极点五笔的开发者也不至于不知道用户会用词组输入。找了一下,果然找到了。现在这篇文章,就是用极点五笔敲打出来的。过程如下: 第一步:YUM安装极点五笔 # yum -y install ibus