Packagemaker 3.0.3. get user's installation preferences

Hi all,
i have a small problem that seems to be caused by my lack of knowledge on the issue. Basically, what I am trying to do is to create an installer for my application with the PackageMaker.app. I am stuck on one place though, how can I 'get' a user's input during the installation and feed it to a script which is getting started after the install.
Example: I give the user 4 language choices during the installation - german, japanese, french and english. The user chooses one of those and according to this choice my post-install script has to do different things.
Does anybody know how can I achieve such behaivior?
Thanks in advance.
Regards
artOf...

I am still struggling with the postinstall script... The problem is the PackageMaker does not give ANY language information to my script i tried many different things for example:
#!/bin/sh
/usr/bin/env
echo "arg0: '"$0"'"
echo "arg1: '"$1"'"
echo "arg2: '"$2"'"
echo "arg3: '"$3"'"
echo "arg4: '"$4"'"
echo "arg5: '"$5"'"
echo "arg6: '"$6"'"
echo "arg7: '"$7"'"
echo "arg8: '"$8"'"
echo "pkgpath: $PACKAGE_PATH"
echo "language: $LANG"
echo "messageLanguage: $LC_MESSAGE"
echo "environment: $ENV"
The output is:
...imac /private/tmp/scripts.eDmN/./postinstall[1503]: arg0: '/private/tmp/scripts.eDmN/./postinstall'
...imac /private/tmp/scripts.eDmN/./postinstall[1503]: arg1: '/Developer/Projects/TS-S2/code/trunk/Mac/TS-S2/Setup/BETA/MyApplication - Installer.pkg'
...imac /private/tmp/scripts.eDmN/./postinstall[1503]: arg2: '/Applications'
...imac /private/tmp/scripts.eDmN/./postinstall[1503]: arg3: '/'
...imac /private/tmp/scripts.eDmN/./postinstall[1503]: arg4: 'upgrade'
...imac /private/tmp/scripts.eDmN/./postinstall[1503]: arg5: ''
...imac /private/tmp/scripts.eDmN/./postinstall[1503]: arg6: ''
...imac /private/tmp/scripts.eDmN/./postinstall[1503]: arg7: ''
...imac /private/tmp/scripts.eDmN/./postinstall[1503]: arg8: ''
...imac /private/tmp/scripts.eDmN/./postinstall[1503]: pkgpath:
...imac /private/tmp/scripts.eDmN/./postinstall[1503]: language:
...imac /private/tmp/scripts.eDmN/./postinstall[1503]: messageLanguage:
...imac /private/tmp/scripts.eDmN/./postinstall[1503]: environment:
Where you can see that more then half of the variables are empty. Also the '/usr/bin/env' outputs nothing related to language or localization... I think, I set the localization properly in the packageMaker interface so the problem should be somewhere in the script. I am not experienced at all with writing scripts so I am guessing that is the problem. Any help will be appreciated. Thanks!
-artOf...

Similar Messages

  • Adobe Acrobat won't install, can't get past "reader installer" "retreiving install"

    I'm unable to open PDF files on my computer and cannot install Acrobat Reader
    1--Click the "download now" button for: Adobe Reader X (10.1.0) (37.86 MB)
    2--Click the "save file" button
    3--Click the "Adobe Reader Installer"
    4--On computer "Retrieving Install................0%" pops up and this is where the process ceases.
    5--Nothing happens
    6--FIREFOX HELP saves the day
    7--I'm no longer pissed.
    8--Thank you!

    Hey Goingup2,
    Please note that you can activate Acrobat subscription on maximum two computers using your Adobe ID credentials.
    In order to install and activate Acrobat on the second machine, you must first deactivate it on the first machine using the Help menu.
    You might get User Account Control prompt after selecting 'Privilege Level' option under Compatibility tab of Acrobat properties.
    Please check for the same and let me know.
    Regards,
    Anubha

  • Getting user info with integrated dot net app.

    To start, I know nothing about SAP integration. This has been thrown at me to try to resolve.
    I need to integrate a dot net app into SAP. I need to know who the user is that is accessing my .ascx page.
    I found this:
            Dim userInfo As Map = DirectCast(Request.getAttribute(PortletRequest.USER_INFO), Map)
            lblUserID.Text = DirectCast(userInfo.[get]("user.name.given"), String)
    And This:
    <portlet-app>
    <user-attribute>
    <description>User Given Name</description>
    <name>user.name.given</name>
    </user-attribute>...
    Any help would be appreciated, and again, if you can help I will need complete help, because as Sgt Schultz would always say..
    I know nooooothing...
    Edited by: Raymond Blair on Dec 15, 2008 5:40 PM

    Hello Raymond,
    For developing .NET applications I would recommend you to evaluate [PDK for .NET|https://www.sdn.sap.com/irj/sdn/dotnet?rid=/webcontent/uuid/40be5378-bfa9-2b10-399b-ba5719c0b5b8] ( Portal Development Kit for Microsoft .NET ). As a part of its installation, you get documentation integrated into Visual Studio help. It contains a set of very helpful tutorials.
    Best Regards,
    Rima.

  • CS5.1 overrides CS5 registry entries, how do I get the photoshop installation location safely?

    Hi there,
    I'm creating a installer for my Photoshop plugins, so I need to find out Photoshop installation directory. I did this by looking for registry 'HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Photoshop\', but I found that CS5.1 will override the CS5 registry entries - they are both in ’HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Photoshop\12.0‘
    So how can I distinguish CS5 and CS5.1 in the registry? Or how can I get the correct installation direcotry for both CS5.1 and CS5?
    Thanks,
    Daniel

    You can't on Windows. On Mac they did the right thing and made a seperate .paths files. On Windows they just tromped on the CS5 registry entries with the CS5.1 entries, even though it's a completely seperate application installation with its own plugin path. Not too cool.
    Although, it only matters if you encounter the probably rare corner case where a user has both CS5 and CS5.1 installed AND wants to put the plugins into the CS5 plugin path. We just punted and can only install into CS5.1 in that case, unless the user manually selects the installation location. It hasn't generated any significant support issues for us that I know of.

  • Cannot install Adobe Application Manager. I get error message: "Installer failed to initialize".  What can I do about this?

    Hello,
    Cannot install Adobe Application Manager. I get error message: "Installer failed to initialize".  What can I do about this?

    if mac:
    go to HD>library>application support>adobe>caps and rename the caps folder.
    go to USER library>application support>adobe>OOBE and rename OOBE folder
    install Adobe application manager from below link.
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=4774

  • HT1926 I get a windows installer error while trying to download latest itunes even though I have uninstalled itunes

    Can anyone help me with installing itunes on Windows XP?   I get a Windows installer error

    Many thanks. Let's try the following user tip with that one:
    "There is a problem with this Windows Installer package ..." error messages when installing iTunes for Windows

  • GPO Deployement of Blackberry Desktop Software 6.1 fail with the following error: user cancelled installation

    Hello everybody,
    I get an issue when i try to deploy the latest version of Blackberry Desktop Software using a Group Policy Objetc.
    The package tries to install a the computer's startup but i can't find the product installed.
    On the event viewer and after a rsop.msc i get the following error: User cancelled installation
    I worked threw this link http://supportforums.blackberry.com/t5/Desktop-Software-for-PC/Unable-to-install-Blackberry-Desktop-... and i installed vcredist_x86 and msxml6 on the client computer but the problem is still the same.
    Could anyone help me for this issue.
    Over simple way to solve my problem would be to let me know where i can download an older version of Blackberry Desktop Software because there is a link on the website but it doesn't work.

    Well folks. I've had enough.
    The 9780 is a great phone, it's easy to use, practical and dependable. However, the Desktop Manager software has been giving me too many sleepless nights. On two occassions I must add: once at the end of last year when I bought it and only managed to solve it by myself after 4 weeks of trawling through online forums, blogs and other BB help sites and the recent one was last week when I tried to install it on my new Windows 7 notebook.
    I know this is not entirely the fault of RIM, Microsoft also has a part to play. But considering the state of technology these days, it shouldn't have to be so difficult. I want a phone and software that makes my life easier and not have to be a slave to it by trying days and nights to solve its problems.
    Hence, I have officially decom my phone and gotten an iPhone 4 instead. The switch ain't that difficult for me as I have always been platform neutral. As long it fits my needs, does it job well and doesn't give me too much headache, I'm cool with it.
    Ciao folks!

  • Why do i get a "codec installation required" message?

    Why do i get a "codec installation required" message when trying to play avi files? Im using QT7 on a mac, v10.6.7?, Why do i get a "codec installation required" message when trying to play avi files? Im using QT7 on a mac, v10.6.7?

    Why do i get a "codec installation required" message when trying to play avi files?
    Probably because you do not have an audio and/or video codec used for compressing/decompressing data in the AVI file. AVI, like MOV, are just file containers capable of holding many different kinds of data. The originator of the AVI file (Microsoft) dropped its official support of this file type more than a decade ago but its popularity with Windows users lingers on. Unfortunately, with few exceptions, the compression formats commonly used in the AVI file container may or may not still be in use. Some were never transcoded for use on the Mac platform. Others are so old that they have never been updated for use under OS X. Of thise transcoded for OS X use, some have not been updated for Intel based platforms. Thus, while QT supports the container itself, it does not natively support the third-party and/or proprietary codecs used, many of which, are now classed as "legacy" codecs and are out of date in terms of today's video compression technology.

  • Windows 10 SDK 10.0.10069 : The installer failed. User cancelled installation. Error code: -2147023294

    I get this error when installing VS 2015 Community RC.  I'm installing on Windows 10 build 10074.  I tried uninstalling VS and tried performing the steps from other known issues... Change > Custom > Select feature > Update.
    I also get the other errors as well...
    Emulators for Windows Mobile 10.0.10069 : The installer failed. User cancelled installation. Error code: -2147023294
    Emulators for Windows Mobile 10.0.10069 : The installer failed. User cancelled installation. Error code: -2147023294

    Same issue here, on a Surface Pro 3.
    I've tried all I can think of, including a full reinstall of the OS (10074). Basically it always fails with the errors below.
    Launching VS I do have the UAP templates installed, but not the emulators. I can create a new Windows Universal app no problem, however it shows up as a Windows 8.1 type in the properties pane. Missing lots of references so obviously nothing builds.
    Tried installing the tools separately (the ones linked by Paul Chapman in a separate thread). These installed fine, and gave me the emulators (at least in the drop down, haven't been able to verify they work as nothing else works). Proceeded to "repair"
    the VS install after this and at that point the install completed without errors, however nothing still works inside VS. Then proceeded to "modify" and remove any Universal app stuff, rebooted and reinstalled, only to get the same error again and
    back at square one.
    Tried, as far as I can remember, fresh installs from both the ISO and webinstaller (as there was some talk about the ISO containing older code and missing some tools).
    Spent a week trying to get a Win10 rig up now, to no avail. Previous builds (with CTP6) would give me a UAP mobile install error, which seemed linked to Hyper-V not working, however Hyper-V was working just fine...
    Oh, and obviously - No, I did not cancel the install myself.
    Here are some relevant lines from the install log,
    [060C:0CF0][2015-04-30T14:20:08]i000: MUX:  Source confirmed
    [060C:1994][2015-04-30T14:20:14]i000: MUX:  Finished connecting secondary installer pipe
    [060C:14D4][2015-04-30T14:20:19]i000: MUX:  Updating secondary installer progress display name: Windows 10 SDK 10.0.10069
    [060C:14D4][2015-04-30T14:20:25]i000: MUX:  Updating secondary installer progress display name: Tools for Windows 10 Universal Apps (Windows SDK 10.0.10069)
    [060C:044C][2015-04-30T14:28:13]i000: MUX:  ExecuteError: Package (VSSecondaryInstaller_box) failed: Error Message Id: 1603 ErrorMessage: Windows 10 SDK 10.0.10069 : The installer failed. User cancelled installation. Error code: -2147023294
    [0288:0054][2015-04-30T14:28:48]e000: Error 0x80048646: Process returned error: 0x80048646
    [0288:0054][2015-04-30T14:28:48]e000: Error 0x80048646: Failed to execute EXE package.
    [060C:044C][2015-04-30T14:28:48]e000: Error 0x80048646: Failed to configure per-machine EXE package.
    [060C:044C][2015-04-30T14:28:48]i000: MUX:  Installation size in bytes for package: VSSecondaryInstaller_box MaxAppDrive: 0  MaxSysDrive: 2063301632  AppDrive: 0  SysDrive: 2060471296
    [060C:044C][2015-04-30T14:28:48]i000: MUX:  ExecutePackageComplete for secondary installer
    [060C:044C][2015-04-30T14:28:48]i000: MUX:  Disconnecting secondary installer pipe
    [060C:044C][2015-04-30T14:28:48]i000: MUX:  Return Code:0x80048646 Msi Messages:Windows 10 SDK 10.0.10069 : The installer failed. User cancelled installation. Error code: -2147023294 Result Detail:0 Restart:None
    [060C:044C][2015-04-30T14:28:48]i000: MUX:  Set Result: Return Code=-2147187130 (0x80048646), Error Message=Windows 10 SDK 10.0.10069 : The installer failed. User cancelled installation. Error code: -2147023294, Result Detail=, Vital=False, Package
    Action=Install, Package Id=VSSecondaryInstaller_box
    [060C:044C][2015-04-30T14:28:48]i000: Setting string variable 'BundleResult' to value '0'
    [060C:044C][2015-04-30T14:28:48]w350: Applied non-vital package: VSSecondaryInstaller_box, encountered error: 0x80048646. Continuing...
    Think I'll go buy a Mac...

  • The proxy server could not handle the request get /user/login in dbfw 5.1

    hi
    when i m login to oracle database firewall throuth internet explorer on the window xp client then the following error occur
    the proxy server could not handle the request get /user/login
    plz resolve issue
    Edited by: 913779 on May 15, 2012 6:29 AM

    Are you using a proxy? Check you settings.<BR><BR>
    ===============================================
    '''Try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that turns off some settings and disables most add-ons (extensions and themes).
    ''(If you're using an added theme, switch to the Default theme.)''
    If Firefox is open, you can restart in Firefox Safe Mode from the Help menu by clicking on the '''Restart with Add-ons Disabled...''' menu item:<br>
    [[Image:FirefoxSafeMode|width=520]]<br><br>
    If Firefox is not running, you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac: Hold the '''option''' key while starting Firefox.
    * On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.
    Thank you.

  • Where do I get a Windows Installation Disc?

    My Toshiba Satellite C655 laptop stopped working after only 7 months of use.  I got it from Fry's and they never told me that their 1 year warranty meant I had to ship the computer to Toshiba and have to pay $25 on my credit card and wait 3 weeks or more to get it back.  So, anyways how do I get a Windows Installation Disc?  That is what the error message says I need.

    See the section Recovering the Internal Storage Drive, which begins on p. 59 of the User's Guide.
       Satellite C640/C650 Series User’s Guide
    Always tell us which Satellite C655 you have when you post here. There is a label on the bottom.
    -Jerry

  • I am unable to reinstall Photoshop CS6 (I do have the serial number) on my Macbook Pro 10.9.5 (Mavericks os). and am getting the message "Installation on case-sensitive volumes is not supported.  Please choose a different volume for installation."  I am f

    I am unable to reinstall Photoshop CS6 (I do have the serial number) on my Macbook Pro 10.9.5 (Mavericks os). and am getting the message "Installation on case-sensitive volumes is not supported.  Please choose a different volume for installation."  I am further told that "Adobe apps cannot be installed on case-sensitive drives, you need to Install the product onto an HFS+ or HFSJ non-case-sensitive drive."
    What I don't understand is this:  I originally bought and installed Photoshop CS6 back in March 2013, and it worked fine.  Yesterday my hard drive had to be replaced and my computer person salvaged as much of what was on it as he could, but now I have to reinstall Photoshop.  1) Why did it work before and it's not working now?  2) Is there anything I can do that does not involve reformatting the hard drive?

    It means what it says. The "computer person" formatted it wrongly/ unsuitably. it needs to be formatted again.
    Error "Case-sensitive drives not supported" or similar install error | Mac OS
    Mylenium

  • How to get user attributes from LDAP authenticator

    I am using an LDAP authenticator and identity asserter to get user / group information.
    I would like to access LDAP attributes for the user in my ADF Taskflow (Deployed into webcenter spaces).
    Is there an available api to get all the user attributes through the established weblogic authenticator provider or do i have to directly connect to the LDAP server again?
    Any help would be appreciated

    Hi Julián,
    in fact, I've never worked with BSP iViews and so I don't know if there is a direct way to achieve what you want. Maybe you should ask within BSP forum...
    A possibility would be to create a proxy iView around the BSP iView (in fact: before the BSP AppIntegrator component) which reads the user names and passes this as application params to the BSP component. But this is
    Beginner
    Medium
    Advanced
    Also see http://help.sap.com/saphelp_nw04/helpdata/en/16/1e0541a407f06fe10000000a1550b0/frameset.htm
    Hope it helps
    Detlev

  • How i get user info from ldap using java after authenticating user with SSO

    Hi
    I have one jsp/bean application as a partner application with SSO.
    It works fine.
    Now i need to get other attributes of user from LDAP who has logged into the application through SSO.
    using SSO java APIs i only get username, userDN, subscriber info.
    To get user's other attribute i have to user LDAP APIs for that i have to create on Directory Context, for the same i need userpassword.
    so here i my question, how do i get user password after he has logged in thro SSO.
    regards..
    and thanking u in advance
    samir

    Valentina,
    there's no way to get the password value from the directory (it's one way). Of course you can get the hashed (MD4,MD5,SHA-1) base64 encoded value (i.e. the value you see in OiD) but not the 'password'.
    --Olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • While installing itunes i am getting error "this installation package could not be opened.verify that the package exists and that you can access it,or contact the appliacation vendor to verify that this is a valid windows installer package"

    While installing itunes i am getting error "this installation package could not be opened.verify that the package exists and that you can access it,or contact the appliacation vendor to verify that this is a valid windows installer package"

    I'd first try downloading an installer from the Apple website using a different web browser:
    http://www.apple.com/itunes/download/
    If you use Firefox instead of IE for the download (or vice versa), do you get a working installer?

Maybe you are looking for