Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > PKG Installer Creation: How do I make it download DarWINE if its not installed?

PKG Installer Creation: How do I make it download DarWINE if its not installed?
Thread Tools
Fresh-Faced Recruit
Join Date: May 2009
Status: Offline
Reply With Quote
May 7, 2009, 09:59 AM
 
Hi

I'm starting to create a Package (Installer) for Mac OS X.

I'm including a license, welcome text & an .exe.

Within the installer I create, is there a way to make the setup;
  • Check if DarWINE is installed
  • If DarWINE isn't installed, for it to prompt to download
  • After download is complete, for the DarWINE installer to open up
Please tell me how to add the ^above^ to my installer.

Thanks in advance,

Panarchy
     
Mac Elite
Join Date: Oct 1999
Location: San Jose, Ca
Status: Offline
Reply With Quote
May 7, 2009, 12:16 PM
 
I wouldn't do it that way. The better way would be to put in a pre-install check to see if DarWINE is installed, and if not return an error message that includes a link to the DarWINE project.
     
Fresh-Faced Recruit
Join Date: May 2009
Status: Offline
Reply With Quote
May 7, 2009, 06:16 PM
 
Thanks for replying.

I am doing this for many different operating systems, and my method requires the least amount of configuration for the End User.

So if you could please tell me how to embed a download link into my OS X Installer, one with an if/else command (if DarWINE exists, continue; else download and install DarWINE).

Thanks in advance,

Panarchy
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 05:14 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2