| OS X - Development and Darwin Discussion and questions about development for Mac OS X. |
| Post Reply | New Thread | Subscribe |
|
|
Thread Tools |
![]() Member Since: Oct 16, 2009
Posts: 1
![]() |
Hello all,
I have just started to use PackageMaker to package our application seeing as our very old version of Installshield no longer works on Snow Leopard based on the fact that it needed Java 1.4. I have managed to setup the package but am running into a problem when the "Upgrade" function seems to fail if the files are already there. The "Upgrade" option is shown when the application has already been installed (.PKG file exists in /Library/Requests). Deleting all the files still shows that it will upgrade, however, seeing as the files aren't there the install completes successfully. I tried a preflight bash script to check if the files were there and then delete them but this always fails when it tries to execute the rm -r command. I get a weird Diagnostic Message, leading me to believe it is security/rights related, that reads: com.apple.message.domain: com.apple.SecurityAgent.DialogFrequency com.apple.message.result: noop com.apple.message.siugnature: Installer.app I do know my BASH script is executing because a simple mkdir command works. It only seems to complain if I try and delete the folder. I have also tried creating a "File exists on Target" requirement that forces the user to delete the folder manually if it exists but this does not give me the correct behavior. I don't think this requirement works. I configured a folder and whether I have the "Pass If" value as True or False it still brings back the error message. This was a last resort and not a very elegant solution. Hopefully someone else there can point me in the right direction. Thanks in advance, Charles |
| QUOTE Thanks | |
| Post Reply | New Thread | Subscribe |
| Thread Tools | |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|
|||||||
Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| PackageMaker Prefligt is not working in MAC 10.6 (Snow Leopard) | jobyabraham1983 | OS X - Development and Darwin | 0 | 09-18-2009 11:00 AM |
| PackageMaker PreFlight question | jonculloty | OS X - Development and Darwin | 1 | 09-18-2009 10:36 AM |
| PackageMaker - postflight actions don't work? | sw55 | OS X - Development and Darwin | 0 | 04-20-2009 06:00 PM |
| Help with PackageMaker needed | Tiemo | OS X - Development and Darwin | 0 | 02-12-2009 08:27 AM |
| Installing PackageMaker | paramasivan | OS X - Apps and Games | 4 | 04-17-2008 11:57 AM |
All times are GMT -4. The time now is 12:21 AM.
Powered by vBulletin