installer-dev Mailing List http://lists.apple.com/archives/installer-dev/2008/Jul/index.html installer-dev Mailing List Sat, 05 Jul 2008 17:35:00 +0000 Adobe Creative Suite 3 - how are you guys pkg'ing for deployment? http://lists.apple.com/archives/installer-dev/2008/Jul/msg00023.html Reply to list

I haven't had much lock with loggen and iceberg. I haven't tried  
pkggen, which can parse the output of loggen and gather all the parts  
(I assume to bring into Iceberg manually or automagically?). 

CS2 was a beast. Last year I spent a weekend packaging it and we   [...]
]]>
Re: Changing the custom install location http://lists.apple.com/archives/installer-dev/2008/Jul/msg00022.html Reply to list

[...]

You can know that 2 ways:  
- a preupgrade or postupgrade script would be run if they are  
provided in your package (in the case of a non FLAT package) 

- you could do that with code using the LaunchServices API to locate  
your application (or mdfind(1)).

[...]

Write a wrapper. [...]
]]>
Re: Changing the custom install location http://lists.apple.com/archives/installer-dev/2008/Jul/msg00021.html Reply to list
Thanks for your response, Actually I am deploying a product which other than having the application bundle, has lot of other resources like Plugins bundles, libs, documents and what not. And all these other resources are not part of application bundle but need to be placed in the product's parent application folder along with the application bundle. I have created an installer for this product and have provided to our customers. Our customers generally have multiple drag copies of the install on their system. I didn't set the reallocation flag for any of the  sub components including application, simply because   1. It allows reallocation flag to be set only for bundles, but not for other resources and folders 2. as in case there are more than one copies of reallocatable
 files on the drive, the installer.app patches the first file found on the drive, without user know which installation copy has actually got patched?  Now I am planning for an update of my application with some customer reported defects. I don't want to spend time creating an updater for my application, rather want to use the same installer, So that for my new customers I can give them this installer having some critical defects already fixed, and for my existing customers, the same installer can be used to patch their existing installation.   So for this installer 1. I want to know if this is a fresh install or  I need to patch my previous installation. (Probably this can be achieved my reading receipts)  2. In case I have to patch my previous install, then I want a way to know if more than one copy of my product is already present on his system, and to provide my customer option to choose the copy he wants me to patch. (This I
 was planning to achieve by writing an installer Plugin)     2a. Then I wanted to set this user selected path to the custom location. Which is not possible????  Can you suggest any other alternative approach to achieve the above scenario?     -N   ----- Original Message ---- From: Scott Amory <email@hidden> To: Nethan Aryan <email@hidden> Cc: email@hidden Sent: Tuesday, July 1, 2008 10:17:44 PM Subject: Re: Changing the custom install location     On Jun 30, 2008, at 11:16 PM, Nethan Aryan wrote:  > quoted text
   Unfortunately, the custom location cannot be changed in this way during runtime.       Scott   > quoted text




        
]]>
Re: how a single product will install to different locations http://lists.apple.com/archives/installer-dev/2008/Jul/msg00020.html Reply to list

On Jul 1, 2008, at 2:18 PM, Paul Miller wrote:

[...]

I agree that these needs are not well served by Installer.app.  
The solution I gave, I think it's a commonly-used approach. I added  
a few security tweaks. It can work just fine in 10.3, probably 10.1.

[...] [...]
]]>
Re: silent sub-launch of dependent package during install? http://lists.apple.com/archives/installer-dev/2008/Jul/msg00019.html Reply to list
[...]

Yep, I have confirmed that this works on Tiger + Leopard. The second 
installer is very fast (just installs a StartupItem), so all seems well. 

 --
Paul Miller | email@hidden | www.fxtech.com | Got Tivo?  
 
]]>
installer that will support multiple installation path , multiple product installation http://lists.apple.com/archives/installer-dev/2008/Jul/msg00018.html Reply to list
Hi All, 
             I need 
to create a installer from package maker that will support multiple installation 
path. 
             For 
example i have a Adobe After Effect product that i want to install different 
locations. 
             I have 
created a installer plugin that will ask  different locations from user 
where he wants to install. 
             but i 
have no idea about how to get these  location from installer and 
then install  the products to these locations 
             at the 
time when user click the install button. 
   
            Another 
question that i want to ask is-  "how can  the installer support 
multiple product installation". 
            Suppose 
i have many versions of Abobe After Effects that i want to install all or 
some of them. 
            user 
can choose which version he wants to install by selecting the versionsat the 
time of installation. 
            So what i 
have to do ? 
              
      
               
     
]]>
Re: silent sub-launch of dependent package during install? http://lists.apple.com/archives/installer-dev/2008/Jul/msg00017.html Reply to list
Title: Re: silent sub-launch of dependent package during install? 



Running an installer from within a postscript should work fine. I’m currently doing it with MS Office (among other products) without repacking MS’s package.  

Have the main installer putting the secondary installer in a /tmp location and then engage the second installer using the following command in the postscript. 

installer -pkg /private/tmp/office/office2008/Office\ Installer.mpkg -target LocalSystem 

Agree with Bill, that it won’t give any feedback in the installer (and that is VERY sub-wonderful), but it should function fine. ACHDS 10.4, MCP NTS/NTW 


 From: Bill Coderre <email@hidden> 
Date: Tue, 1 Jul 2008 15:50:26 -0400 
To: Ryan McGann <email@hidden> 
Cc: <email@hidden> 
Subject: Re: silent sub-launch of dependent package during install? 



On Jul 1, 2008, at 9:57 AM, Ryan McGann wrote:

[...]

I won't swear it won't work, but I am pretty sure it won't. Also, the  
lack of progress bar is sub-wonderful.

[...]

10.5 is very happy to run 10.3 mpkgs. 

You can set up the entire thing as a 10.3 style mpkg, where all the  
packages have InstallationChecks and VolumeChecks, and each mpkg has a  
listing of its subpackages, marked "required" or "optional" etc. 

OR you can have the 10.3 stuff AND a 10.4 distribution. That's what  
iLife did in 06. (Distributions have extra powers and launch faster.) 
 
]]>
Re: Leopard PackageMaker and postinstall script http://lists.apple.com/archives/installer-dev/2008/Jul/msg00016.html Reply to list
On Jun 30, 2008, at 8:17 PM, bobkells wrote:

[...]

It might be necessary to detail why this behavior happens:  
- with Tiger compatible packages: a postinstall script was run only  
if the package was installed for the first time. 

- with Leopard-only compatible packages: the postinstall script is  
run whenever you install a package. The postinstall script is now the  
postflight script. 

 --
Stephane  
N.B: If this mail does not make it to the mailing-list, I will start  
believing the mailing-lists at Apple are discriminating the Orange  
mail servers. 


 
]]>
Re: how a single product will install to different locations http://lists.apple.com/archives/installer-dev/2008/Jul/msg00015.html Reply to list

[...]

I agree that these needs are not well served by Installer.app.  
The solution I gave, I think it's a commonly-used approach. I added a  
few security tweaks. It can work just fine in 10.3, probably 10.1.

[...]

It's clear that Installer.app's "find" functionality is insufficient  
for this. [...]
]]>
Re: how a single product will install to different locations http://lists.apple.com/archives/installer-dev/2008/Jul/msg00014.html Reply to list

On Jul 1, 2008, at 11:06 AM, Sandeep Dhama wrote:

[...]

I'm a plugin developer too, and unfortunately, the sad reality is that 
plugin installation for Adobe Photoshop (and other hosts) is our #1 
customer support issue. Customers generally have several versions of  [...]
]]>
Re: how a single product will install to different locations http://lists.apple.com/archives/installer-dev/2008/Jul/msg00013.html Reply to list

[...]

Here is one way to do it, BUT it's ugly, and could have security  
issues, and I hope there's a better way to do it: 
0) Require ROOT authorization to install. 
1) In the InstallerPlugin, get a location, and write it to file /tmp/ 
com.Company.Product.pkg. [...]
]]>
Re: silent sub-launch of dependent package during install? http://lists.apple.com/archives/installer-dev/2008/Jul/msg00012.html Reply to list
[...]

I won't swear it won't work, but I am pretty sure it won't. Also, the  
lack of progress bar is sub-wonderful.

[...]

10.5 is very happy to run 10.3 mpkgs.  
You can set up the entire thing as a 10.3 style mpkg, where all the  
packages have InstallationChecks and VolumeChecks, and each mpkg has a  
listing of its subpackages, marked "required" or "optional" etc. 

OR you can have the 10.3 stuff AND a 10.4 distribution. That's what  
iLife did in 06. (Distributions have extra powers and launch faster.) 
]]>
how to provide multiple product installation support to installer http://lists.apple.com/archives/installer-dev/2008/Jul/msg00011.html Reply to list

Hi All, 
           
           I need to 
create a installer  which support multiple product installation. For 
example i have a adobe products like 
           Adobe After 
Effects 7.0,   Adobe After Effects 6.5 etc,So installer will support 
these multiple product installation  [...]
]]>
Fw: how a single product will install to different locations http://lists.apple.com/archives/installer-dev/2008/Jul/msg00010.html Reply to list
  
 ----- Original Message ----- 
 From: Sandeep Dhama  
 To: email@hidden 

 Sent: Tuesday, July 01, 2008 11:35 PM 
 Subject: how a single product will install to disserent 
locations  

 Hi All, 
           I need to create a 
installer  in which a single product will support many choices for where it 
should be installed. 
           For example i have 
a adobe after effects that will install multiple destination 
locations. 
           I have created a 
installer plugin  that will ask  different destination locations from 
user at the time of installation. 
           But i do not know 
how to  install the product to these different destination location. So 
please tell me how to do this?. 
        
         
 your help is appriciated. 
     
]]>
how a single product will install to disserent locations http://lists.apple.com/archives/installer-dev/2008/Jul/msg00009.html Reply to list

Hi All, 
           I need to create a 
installer  in which a single product will support many choices for where it 
should be installed. 
           For example i have 
a adobe after effects that will install multiple destination 
locations. 
           I have created a  [...]
]]>
Re: silent sub-launch of dependent package during install? http://lists.apple.com/archives/installer-dev/2008/Jul/msg00008.html Reply to list

[...]

I'll let somebody else confirm, but I don't believe running two  
instances of "installer" at the same time is supported (or more  
appropriately, two instances of the underlying install package  
mechanism, "runner" or whatever it is in 10.5, is not supported). [...]
]]>
Re: Leopard PackageMaker and postinstall script http://lists.apple.com/archives/installer-dev/2008/Jul/msg00007.html Reply to list

[...]

Ok, so it sounds like you are making a Tiger style (bundled)  
installer.  First can you confirm that the postinstall script that you  
have created is inside the packages Resources folder after you build  
the package with PackageMaker?  If the script is there and you do not   [...]
]]>
Re: Changing the custom install location http://lists.apple.com/archives/installer-dev/2008/Jul/msg00006.html Reply to list
On Jun 30, 2008, at 11:16 PM, Nethan Aryan wrote:  > quoted text
   Unfortunately, the custom location cannot be changed in this way during runtime.       Scott   > quoted text
       
]]>
Re: display a message (in installer window) during script? http://lists.apple.com/archives/installer-dev/2008/Jul/msg00005.html Reply to list
[...]
]]>
Fw: how to install package to different destination locations http://lists.apple.com/archives/installer-dev/2008/Jul/msg00004.html Reply to list

  
 ----- Original Message ----- 
 From: Sandeep Dhama  
 To: email@hidden 

 Sent: Tuesday, July 01, 2008 8:15 PM 
 Subject: Fw: how to install package to different destination 
locations  

   
 ----- Original Message ----- 
 From: Sandeep Dhama  
 To: email@hidden 
 [...]
]]>
Fw: how to install package to different destination locations http://lists.apple.com/archives/installer-dev/2008/Jul/msg00003.html Reply to list

  
 ----- Original Message ----- 
 From: Sandeep Dhama  
 To: email@hidden 

 Sent: Tuesday, July 01, 2008 6:49 PM 
 Subject: how to install package to different destination 
locations  

 Hi All, 
            I have 
created a installer plugin that will ask to enter the different   [...]
]]>
Re: Diff between PackageMaker 2.0 and 3.0 versions http://lists.apple.com/archives/installer-dev/2008/Jul/msg00002.html Reply to list

Hi,     I started working on installers and PackageMaker(PM) for about 3 months during which I found out that there are major changes done to PM3.0.     Yes, You cannot use the tasks written for PM2.0 in PM3.0, mainly if its written with packagemaker commands (terminal commands). [...]
]]>
display a message (in installer window) during script? http://lists.apple.com/archives/installer-dev/2008/Jul/msg00001.html Reply to list

Is it possible to display a specific message from within a postinstall 
script that will show up in the installer status area? I'd like to 
display some sort of status information here instead of just seeing 
"Running Installer Script". Is this possible? 

 --
Paul Miller | email@hidden | www.fxtech. [...]
]]>
how to install package to different destination locations http://lists.apple.com/archives/installer-dev/2008/Jul/msg00000.html Reply to list

Hi All, 
            I have 
created a installer plugin that will ask to enter the different  
destination choices to install the package. 
            how to 
get these destination locations from installer and install package at these 
locations. 
   
   
            Please 
help 
   
       [...]
]]>