Post Reply 
HP Prime PC-side software no longer runs on Wine?
05-18-2015, 06:15 PM
Post: #1
HP Prime PC-side software no longer runs on Wine?
I'm wondering if anyone has had any success running the new version of the HP Prime emulator on Wine (the Windows compatibility layer) on GNU/Linux? I have been unsuccessful.

Previous versions of the software have installed fine on Wine, and the emulator update (Calculator menu | Check for Update) has worked fine too.

The calculator loses a lot of its value if it won't work with a PC, and my understanding (hopefully someone will correct me) is that HP are only providing software built for a Windows platform and that there is none for UNIX-like systems like GNU/Linux and Mac OS. Consequently the failure of the latest software to run on a Windows compatibility layer like Wine is a big step backwards.

For completeness I provide details of what went wrong installing the software on Wine.

First of all I tried to run the update from the menu in the Prime emulator (Rev. 6031 of 2014-03-31). When that failed I tried downloading and installing a new version of the emulator (Version 1.20.7820.68) from the HP ftp site but again the install failed.

I get the the error message "0x80070538 - Invalid ACL". Looking at the log, things seem to start out okay, then this happens:

Quote:[0022:0023][2015-05-18T14:33:05]i301: Applying execute package: vcredist_x86EXE, action: Install, path: C:\users\Public\Application Data\Package Cache\18F81495BC5E6B293C69C28B0AC088A96DEBBAB2\vcredist_x86.exe, arguments: '"C:\users\Public\Application Data\Package Cache\18F81495BC5E6B293C69C28B0AC088A96DEBBAB2\vcredist_x86.exe" /quiet /norestart -burn.ancestors={481dacbe-0f9b-414c-995b-fb0bbee4ecc5}'
[0022:0023][2015-05-18T14:33:05]e000: Error 0x80070538: Failed to create the security descriptor for the connection event and pipe.
[0022:0023][2015-05-18T14:33:05]e000: Error 0x80070538: Failed to create embedded pipe.
[0022:0023][2015-05-18T14:33:05]e000: Error 0x80070538: Failed to run bundle as embedded from path: C:\users\Public\Application Data\Package Cache\18F81495BC5E6B293C69C28B0AC088A96DEBBAB2\vcredist_x86.exe
Find all posts by this user
Quote this message in a reply
05-19-2015, 05:28 PM
Post: #2
RE: HP Prime PC-side software no longer runs on Wine?
I haven't yet tried to update the CK and computer version of the Prime software in my Wine install, but if it doesn't work, it's a step backwards, indeed...
Not that I work much on it, but it will make my job harder for libhpcalcs.
Find all posts by this user
Quote this message in a reply
05-20-2015, 03:28 PM
Post: #3
RE: HP Prime PC-side software no longer runs on Wine?
I don't know enough about wine to tell you anything other then we aren't intentionally breaking things. However, there were several changes that might be important for you.

1. We moved from visual studio 2008 to 2013. Not sure how that might impact wine.
2. We now install the 2013 c++ redists. I suspect that is what is failing (the install of that part)

Have you tried installing and moving the files over once installed to eliminate the potential install issue?

TW

Although I work for the HP calculator group, the views and opinions I post here are my own.
Find all posts by this user
Quote this message in a reply
05-20-2015, 04:55 PM
Post: #4
RE: HP Prime PC-side software no longer runs on Wine?
There are issues with installing the C++ redist on 64 bit Wine, including the ACL issue noted here. The 32 bit version apparently does not have these issues. I have not tested to see if this works as I moved to VMware and 32 bit Windows 7 on my Mac (no issues). Here is a link: https://appdb.winehq.org/objectManager.p...&iId=30029
Find all posts by this user
Quote this message in a reply
05-21-2015, 11:28 AM
Post: #5
RE: HP Prime PC-side software no longer runs on Wine?
(05-20-2015 03:28 PM)Tim Wessman Wrote:  I don't know enough about wine to tell you anything other then we aren't intentionally breaking things.

Thanks Tim,

I hope my post didn't seem to suggest that you might be trying to break things! Judging by the list of fixes/enhancements in the update, you must all have been very busy fixing things. Thank you for that.

I don't know enough about Wine either (yet) to know what's going wrong. I only use Wine for the Prime software and for Debug4x/Emu48, and since those have worked "out of the box" I haven't looked under the hood yet. Apparently some tweaking can be done to get more recalcitrant software to behave. I'll get on with my homework.

Quote:However, there were several changes that might be important for you.

1. We moved from visual studio 2008 to 2013. Not sure how that might impact wine.
2. We now install the 2013 c++ redists. I suspect that is what is failing (the install of that part)

Thanks for that information. Certainly the first error in the log is immediately after the attempted install of vcredist_x86.exe, so that gives me a place to start my research.

Quote:Have you tried installing and moving the files over once installed to eliminate the potential install issue?

That's a possibility. I'd have to find a Windows machine (I understand they're ubiquitous so that shouldn't be too hard). But ascertaining which files across the file system and Registry entries were modified/added, might be challenging.
Find all posts by this user
Quote this message in a reply
05-22-2015, 08:07 PM
Post: #6
RE: HP Prime PC-side software no longer runs on Wine?
Is there a way to disable said automatic install of the VC++ 2013 redist ?

`winetricks vcrun2013` may help, as well as using a Wine build from the wine-staging project.
Find all posts by this user
Quote this message in a reply
06-03-2015, 03:46 PM
Post: #7
RE: HP Prime PC-side software no longer runs on Wine?
Success! I now have the Prime emulator running Rev. 7820 on Wine on GNU/Linux.

This involved telling Wine Configuration to emulate Windows 7 not Windows XP and downloading and installing the VC++ 2013 runtime from http://www.microsoft.com/en-us/download/...x?id=40784. (I was unsuccessful with the version of the redistributable from Winetricks.)

[I'll be happier when Wine have completed their free software emulator of the VC++ 2013 runtime. For now I'll just have to live with the guilty feeling of once again having been seduced by non-free software, and hope that I don't slide yet further down that slippery slope!]
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)