Re: How to make my installer...
Re: How to make my installer...
- Subject: Re: How to make my installer...
- From: Christopher Ryan <email@hidden>
- Date: Fri, 28 Oct 2005 19:36:22 -0700
You can do this. I would make 3 packages.
The app package.
1 Common package
2 Language packages.
The app package has the root of the app something like:
./MyGreatApp.app/
./MyGreatApp.app/Contents/
./MyGreatApp.app/Contents/Resources
The language packages actually have the same thing, so:
./MyGreatApp.app/Contents/Resources/Japanese.lproj
etc.
If you make all 3 packages relocatable, but leave the default /
Applications then they will all install in /Applications/
MyGreatApp.app if the user changes nothing.
You could then group them all together with a mpkg (Jaguar,
Panther,Tiger) or a distribution script (Tiger) to install them all
at once.
The distribution script would look something like this (minus the
license, actually references to the packages, etc):
<?xml version="1.0" encoding="UTF-8"?>
<installer-gui-script minSpecVersion="1.0">
<title>My Great App</title>
<options allow-external-scripts="no" customize="allow"
rootVolumeOnly="true" customLocation="/Applications"/>
<choices-outline>
<line choice="app"></line>
<line choice="english"></line>
<line choice="german"></line>
</choices-outline>
<choice id="app" title="App" description=""
start_selected="true" start_enabled="true" start_visible="true"></
choice>
<choice id="english" title="English" selected='languageSelected
()' enabled='languageEnabled()'></choice>
<choice id="german" title="German" selected='languageSelected()'
enabled='languageEnabled()'></choice>
</installer-gui-script>
Chris
Hello installer-dev,
I've just ported a title from Windows to the Mac and we are doing a
simultaneous English/German release of it. What I want to do is as
follows:
* I have 3 sets of files that comprise the data for the game. One
"common" set which is used for both language, an "en" set which is
used for english, and a "de" set that is used for german.
* I, ideally, want the user to be able to choose which language he
installs.
* I want to copy my app to a path the user chooses, and then to place
the "common" fileset and either the "en" or "de" fileset in it's
Resources folder. In other words, the App will initially have an empty
Resources folder and I will be putting data in it at install time.
Am I wasting my time trying to do this sort of thing with Apple
Installer, or is it possible?
--
Best regards,
Peter mailto:email@hidden
_______________________________________________
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden