Ever needed an OS X version of your favourite Windows application, but there isn’t one? I found myself in the same situation, with respect to TextPad. I remembered that I had learnt a trick, using Wine, but I had forgotten the exact steps. Luckily, I had noted down the steps in a Stack Exchange post. However that post had subsequently been deleted. I managed to retrieve it and have saved it here for posterity.
This is not about porting apps, I must confess…
Note on deleted Stack Exchange Posts
This is from a deleted question on Stack Exchange. Or rather, this is the “saving for posterity” of an extensive answer that I posted to a question on Graphic Design, a question which the original poster, rather inconsiderately, subsequently deleted..! Using a neat edit trick proposed by Mark Booth, see his answer to the question View *my* deleted question and answer with less than 10K on Meta SE, I managed to get hold of my answer, as well as the original question.
To get at your answer to a question that the author deleted, you need the
answerPostIDfrom the URL, not the
questionPostID, where the URL to the deleted answer is of the form:
and then plug it into Mark’s URL above,
Note that this will not work for the question (if you didn’t write the question – if you did, then I still not sure if it works), and that you need to have edit rights (i.e. you were the authour).
The original question
The question was titled PSD Mockups that aren’t About Apple? and was about an OP not being able to find a photoshop related image, that was not on Apple hardware… If I recall correctly.
I know that this is not exactly what you are asking for, or were expecting, but should you not be able to find any good quality mockups of hardware, other than Apple, this is surely the next best solution.
The problem lies in the fact that this application only runs on Windows…
Nearly any Windows app can be made to run on Mac hardware, running OS X, even graphically intensive games, albeit with a loss in performance (to some degree or other), just by wrapping the application in a Wineskin… Now I had heard about this over a couple of years, but, after my experience of using Wine on Linux in the early 2000’s, I was always put off my what I imagined would be a right pain to configure, terrible performance and just a general nightmare. How wrong I turned out to be. About two months ago I ended up having to fix a game app to run OS X, found some instructions, followed them and since then I have been wineskin-ing loads of Windows only apps (Multimeter logging software, Comms software, etc).
Download Wineskin Winery, and follow the steps below:
- Update the wrapper
- Install a wineskin engine
- Create a wrapper
- Configure your wrapper
- Install and run your software
- How to Get Back to the Wrapper Configuration Page
These steps were taken from How to Run Your Favorite Windows Programs on OS X with Wineskin. There is an alternative method, which I employ, which comes from the youtube video that I mention below, How To Fix Grand Theft Auto SanAndreas Not Starting *Mac:
- Open the Wineskin winery app and update the wrapper – click on the Update button.
- Install a wineskin engine – click the + beneath the list area of the engines, choose the latest one and click Download and Install
- Create a new wrapper – name it in the subsequent dialog, “Please choose a name for this wrapper”, click OK.
- The subsequent dialogs (Do you want to install Mono, .NET, etc.) you can click Cancel, if you know that you don’t need them, otherwise there is no hard in clicking Install
- On the OSX dialog, “Do you want the app to accept incoming Network connections” – clickDeny if your app needs no network access, else click Allow.
- When it has finally finished creating the Wrapper (it can take a while), click on View wrapper in Finder
- Right click and select Show Package Contents
- Open the alias
drive_c. This should reveal three directories (
- Now on the PC/Windows machine, where your Windows application resides, open up the
C:\Program Files\directory and copy the directory that contains your installed app to the mac (via network, USB drive or what have you). So if the path isC:\Program Files\RandomCorp\NiceApp\NiceApp.exe
then you want to copy the
- Once you have copied the
RandomCorpdirectory to your Mac, drag it to the
Program Filesfolder in the
drive_cfolder in the Wineskin wrapper. You can now close the window to the Wineskin’s package contents.
- Now run the wrapper app, for the first time, by double clicking the icon. As the wineskin app is not yet configured, a dialog opens up. In the resulting Wineskin dialog, clickAdvanced, click Browse, navigate to the
RandomCorp\NiceAppdirectory, locate the
NiceApp.exeand click Choose.
- Click Test Run to test it.
- The application should run.
- You can now close the wineskin’s application window.
- You will be presented by a Test Run logs dialog – if you had no problems click Cancel else click View to see what went wrong.
- You can now close the Advanced dialog.
- You can now run the app by double clicking the Wrapper icon.
There are a number of video tutorials out there, on youtube, of varying quality. I, myself, followed one called “How To Fix Grand Theft Auto SanAndreas Not Starting *Mac” (The mis-spelling of San Andreas is a direct quote). Admittedly it does not have the best audio, nor is the verbal explanation particularly clear, but the steps in the video itself are straight forward enough – it is the video that I followed and learnt with, when I had to resort to using Wineskin for the first time.
So, in conclusion, you would end up showcasing Mac hardware mockups, on a Mac using a Windows app. Unless you are actually trying to sell the Windows app, this solution should work1.
Hope this helps.
1Alternatively, consider porting the Windows app to OS X.