User interaction from (pre/post) install/flight scripts

I have a perl postinstall script, I have the script running perfectly from the command line. it looks to see if certain processes are running, if they are it displays an apple script dialog box telling them to close the application.
there are two problems when i run from postinstall mode in the installer.
The dialog box does not appear, and the ps command comes up with a different list of running processes, i am guessing there is some sort of chroot jail going on with the installer process, that does not let it display items to the running window manager and prevents me from looking at running commands and i can actually understand security behind these thoughts, but is there a way around them?

I strongly suggest you ask this in the developer forum.
http://discussions.apple.com/category.jspa?categoryID=164

Similar Messages

  • Error during setup of VSLS2011 "setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager.."

    Hi
    I have VS 9 installed and was wanting to install LightSwitch so downloaded the ISO(VSLS2011_ENU.iso) and burnt to disk ran
    setup.exe and received the this message.
    "Setup could not install the following component:
    Microsoft ApplicationError Reporting"
    The log shows..
    [02/09/15,13:52:02] Microsoft Application Error Reporting: [2] CMsiComponent::Install() expects the setup file for Microsoft Application Error Reporting, but the file failed verification.
    [02/09/15,13:52:03] setup.exe: [2] ISetupComponent::Pre/Post/Install() failed in ISetupManager::InternalInstallManager() with HRESULT -2147467259.
    [02/09/15,13:52:04] SimpleUI: [2] DepCheck indicates Microsoft Application Error Reporting is not installed.
    [02/09/15,13:52:05] SimpleUI: [2] DepCheck indicates VC 9.0 Runtime (x86) was not attempted to be installed.....
    .NetFramework 3.5
    C:\Users\xxxxxx>Winmgmt /verifyrepository
    WMI repository is consistent.
    PC is win 7 pro 64bit 

    Hi ghw123,
    Welcome to Lightswitch forum.
    According to the error message above, this issue is related to verification. For this issue, you need make sure that you download VSLS2011_ENU.iso from Microsoft official site, see:
    http://download.microsoft.com/download/8/0/0/80047AD9-1D3E-46EB-8CF8-DFDA59E7799D/VSLS2011_ENU.iso 
    In addition, if you want to learn LightSwitch, I'd like to suggest you to download VS2012 or VS2013, many new features are added to them. see:
    http://www.visualstudio.com/en-us/downloads
    You need select the Lightswitch option when you install VS2012/VS2013.
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Extract Portal User Name From HTTP POST Request (WSRP SOAP)

    How can we extract the user name from the HTTP POST Request (*WSRP SOAP*) from the Portal to the Portlet Provider (Producer)?
    We are load balancing between the Portal (10.1.14.2) and the providers (OC4J 10.1.3.3) and would like to extract the user name within the load balancer so we can create session affinity based on it.
    BTW, we already tried using TCP Flow but were unable to see the user name.

    From the documentation, it seems that you need to use
    HttpURLConnection.setRequestMethod("POST"); // "GET" is the defaultalthough I have seen examples on the web without it.
    Try!
    Edit: Also the single quotes around userid and password may be a problem.
    Use the previous poster suggestion, but do not include the single quotes.
    Edited by: baftos on Aug 6, 2008 4:27 PM

  • User accounts missing after post install reboot and cannot login

    The 10.5 install process completed and my mac mini rebooted and came up with the login screen. None of my user accounts show - my admin user and my regular user account (also has admin privs) are not available and all I can chose is 'Other' - I have enter both my user accounts and passwords but they are not accepted.
    I then restarted from the Leopard disk, cancelled the install program and used the password utility to reset these passwords and all the accounts show up in the selections (including a guest one I have set up).
    I'm stuck here - can get no further. Only option seems to be restarting the install from scratch unless anyone else has a good suggestion?

    Ok now restarted the install process (by selecting back from the login screen and then selecting restart from the login screen that showed the 'Other' user account only. I held down the c on the keyboard until the restart took the Leopard disc which was in the drive.
    Then I went thru the install steps (language, license agree etc) and when it asked for what disk to install on I selected the mac mini HDD ad then clicked the options button to select the Archiv and Install option (rather than the Update only option I had been doing).
    The install process purred through ok and I am up and running.
    Now on to my MacBook Pro .....Thanks for the help and suggestions all

  • Transfer User Folder from Archive and Install

    I installed Leopard today and did an Archive and Install. It preserved my old user folder, but I can't seem to make it a user. I tried copying it into the user folder and it is now in two places, but does not show up on my login page. All the information is there, I just don't know how to tell Leopard to make that folder a user. Any suggestions? Is this possible? or do I have to transfer all the data manually to a new user I create?
    All of the data is on the same drive, so Migration Assistant does not appear to be helpful. Any support is appreciated

    Create an account with that short name in the Accounts pane of System Preferences.
    (37782)

  • Pre/Post install checklist for EBS 12.1.1 & OEL 5 update4 ?

    Can someone tell me about post installation activities/checks after having finished installation of Oracle Linux 5 update 4 x86 64-bit and those before I start installing EBS 12.1.1

    Pl see these MOS Docs
    Oracle Applications Release Notes, Release 12.1.1 [ID 798258.1]     
    Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Linux x86-64 [ID 761566.1]     
    HTH
    Srini

  • Compactrio - user interaction from a laptop

    I cant seem to find a basic example of what i would like to do
    I have been using a producer comsumer loop on a DAQmx system and it worked perfectly - my problem is when i moved my code onto a cRIO 9074 I seem to get locked out Im thinking there is an issue in handling the event structure
    are there are examples/tutuorials of how to build a vi on the RIO using a state machine when a user clicks a button that particular state is initated on the rio
    Im connecting via a laptop over the network and would like to use the laptop for front end interaction with the user
    tks
    M

    Hey Athes,
    I think that this link should provide you with all you need to help you get started:
    http://zone.ni.com/devzone/cda/tut/p/id/9988
    Regards
    Andrew George @ NI UK

  • [SOLVED] Pass Environment variables from PKGBUILD to .INSTALL script

    Hi everyone,
                       I am trying to modify the grub2-efi-bzr (http://aur.archlinux.org/packages.php?ID=38369) package making some changes in the PKGBUILD and the post-install script. I want to pass few environment variables from the PKGBUILD to the install script. How do I do that?
    Some code from the PKGBUILD
    _bzrtrunk="lp:grub/grub2" # GRUB2 BZR Main Trunk
    # _bzrtrunk="lp:~skodabenz/grub/grub2-bzr-exp" # GRUB2 BZR Experimental Branch
    _bzrmod="grub2"
    if [ ${_bzrtrunk} = "lp:~skodabenz/grub/grub2-bzr-exp" ]
    then
    _bzrmod="grub2_exp"
    pkgver="exp_${pkgver}"
    fi
    # grub-extras bzr repo locations
    _bzrtrunk_zfs="lp:~skodabenz/grub/grub2-extras-zfs"
    _bzrtrunk_lua="lp:~skodabenz/grub/grub2-extras-lua"
    if [ "$CARCH" = 'i686' ]
    then
    _EFI_ARCH=i386
    elif [ "$CARCH" = 'x86_64' ]
    then
    _EFI_ARCH=x86_64
    fi
    # _EFI_ARCH=x86_64 # Uncomment if you want to override the if condition for _EFI_ARCH above, incase the EFI ARCH does not match the Linux Kernel ARCH.
    # $CARCH=x86_64 and _EFI_ARCH=i386 requires gcc-multilib with lib32-glibc installed in the system.
    # I do not know about $CARCH=i686 and _EFI_ARCH=x86_64
    if [ ${_EFI_ARCH} = "i386" ]
    then
    pkgver="${pkgver}_x86"
    _trns_name="grub2_efi_x86"
    elif [ ${_EFI_ARCH} = "x86_64" ]
    then
    pkgver="${pkgver}_x64"
    _trns_name="grub2_efi_x64"
    fi
    Now the post-install script needs the values of _EFI_ARCH and _trns_name env variables. I do not want to copy the if statements to that script as these are decided at compile time but needed while setting up grub2-efi. This is due to the fact that EFI-ARCH need not match the Linux Kernel ARCH. How do I do that.
    Code from the post-install script
    ${_trns_name}-install --root-directory=/ --no-floppy --recheck --debug
    cp /usr/lib/${_trns_name}/${_EFI_ARCH}-efi/lua.mod /boot/${_trns_name}/
    cp /usr/lib/${_trns_name}/${_EFI_ARCH}-efi/zfs.mod /boot/${_trns_name}/
    cp /usr/lib/${_trns_name}/${_EFI_ARCH}-efi/zfsinfo.mod /boot/${_trns_name}/
    cp /usr/lib/${_trns_name}/${_EFI_ARCH}-efi/unifont.pf2 /boot/${_trns_name}/
    cp /usr/lib/${_trns_name}/${_EFI_ARCH}-efi/ascii.pf2 /boot/${_trns_name}/
    ${_trns_name}-mkimage --verbose --directory=/usr/lib/${_trns_name}/${_EFI_ARCH}-efi --prefix="" --output=/boot/${_trns_name}/grub2.efi --format=${_EFI_ARCH}-efi ${_EFI_APP_MODULES}
    Thank in advance.
    Last edited by skodabenz (2010-07-27 15:46:40)

    falconindy wrote:
    Don't rely on %foo% existing -- it won't after the first build and this will prevent the PKGBUILD from being reentrant. I would use something like this (untested):
    sed -i "s|^\(_EFI_ARCH\)=.*|\1=${_EFI_ARCH}|; \
    s|^\(_trns_name\)=.*|\1=${_trns_name}|; \
    s|^\(export _EFI_APP_MODULES\)=.*|\1=${_EFI_APP_MODULES}|" \
    ${startdir}/grub2-efi-bzr.install
    Your code works except for 1 problem in the install script I want
    export __EFI_APP_MODULES="${_EFI_APP_MODULES}" (the passed ${_EFI_APP_MODULES} value should again come inside double quotes).
    right now
    export _EFI_APP_MODULES=ata part_gpt part_msdos fat ntfs ntfscomp ext2 iso9660 udf hfsplus fshelp normal chain linux ls search search_fs_file search_fs_uuid search_label help loopback boot configfile echo efi_gop efi_uga xnu xnu_uuid lvm
    which is equivalent to
    export _EFI_APP_MODULES=ata
    I want
    export _EFI_APP_MODULES="ata part_gpt part_msdos fat ntfs ntfscomp ext2 iso9660 udf hfsplus fshelp normal chain linux ls search search_fs_file search_fs_uuid search_label help loopback boot configfile echo efi_gop efi_uga xnu xnu_uuid lvm"
    How to do it with sed since sed already uses double quotes?

  • About post install scripts...

    hi,
    i wonder if there is a solution for the post-install script problem to prevent some commands like "rm -rf /" to be executed. I know that Gentoo hasn't got this problem because ebuild scripts use a particular language that doesn't implement a such command. But for Arch which uses bash, could this problem be really resolved ?
    Comete.

    Toth wrote:[...]
    A package is software, and you have to trust that the software you are downloading is legit. If it is, and you trust the packager, you have no reason not to trust the package.
    exactly ---> do not download from sources you dont trust
    (if you ever worked on a windows, you know that already, because there is a lot of evil things around (spyware, virus, bacteria, nice VB-scripts, nice JS-scripts ...))
    -> the problem about security: if your OS becomes popular, then the bad guys see it as enough popular to do something bad with it
    Toth wrote:I assure you, if the package maintainers ever run across a submitted package with "rm -rf /" in the post install script, they won't add it to the Arch Linux repositories. If/when you find a 3rd-party Arch package for download, that's a risk you are going to have to take. Check the scripts, check the source of the program (if you're paranoid). That's about all you can do.
    what about a check (in pacman), to give warning, that something will be done with / ... as i know, there is no line to run with / as parameter for a normal reason during an installation or upgrade
    if you download a non-archlinux.org package (downloaded from somewhere else), the install procedure is now this:
    > pacman -A bad-0.1-1.pkg.tar.gz
    loading package data... done.
    checking for conflicts... done.
    installing ... done.
    >
    the check would look like this:
    > pacman -A bad-0.1-1.pkg.tar.gz
    loading package data... done.
    checking install/upgrade scripts ...
    Warning: Found lines in Install-Script that contain / :
    line 3: do something
    line 4: cd / <---
    line 5: rm -rf *
    line 6: echo "I was a bad script"
    Continue with installation [y|N] y
    checking for conflicts... done.
    installing ... done.
    I was a bad script
    >
    this will at least give the user a chance to look at code that contain "/ " in the install/upgrade/remove-scripts and have some control
    of course this will not check the package-content :-( ... but at least you will have one leak closed particulary

  • Post budget document from approved pre-posted budget document workflow

    Hi,
    We are using budget version "0" for AVC Check and "1" for provision budget used for sending further approvals.
    I am uploading provisional budget i.e Pre-posted budget with version "1"  and sending  two levels for approvals by using SAP Standard workflow.
    If pre-posted budget document approved by 2 levels, what is impact on budget posted document?
                       a) Will Pre-posted approved document be convert into Actual budget document with Version "0" (or)
                       b) Will Pre-posted document remain same by updating status with "approved", there by User again needs to post actual budget document with Version "0" by using "FMBB"
    Please help me
    Regards
    Sam

    CA Sam,
    The Pre-posted document will remain the same i.e.approved version 1. In order to create version 0 you can copy from version to version.
    Thanks
    Shyam

  • Network / external access when booted in single-user mode from install CD?

    So I have this iBook with a semi-functional hard drive: can't boot from it (either normal or single-user), can't use it in Firewire Target Disk mode, can't fix it with Disk Utility, an overnight run with Disk Warrior seemed to be hung, etc, BUT if I boot in single-user mode from the install CD I can then mount it readonly and see at least many of the files on it.
    So now I want to slurp the important ones of those files off of it over the network (or in any other clever way anyone can suggest). I'm not a huge Unix or Darwin expert, so an exact set of commands would be appreciated. *8) A friend suggested to me that I might be able to 'init' it at a 'runlevel' that included the networking stack, but I dunno what that means. *8) Does the CD in fact include a full networking stack? Or anything else that I might be able to use to slurp some data from the hard disk before it gives up entirely?
    Tx very...
    Message was edited by: David Chess; annoying typo

    David
    I think Ronda was hoping you had the Tiger Instal DVD, which has a copy of Terminal on it.
    You said earlier that trying to boot into Target Disk Mode didn't work. Would it help you if you could? If so, I can show you how to do it from Single User Mode. I've done it, and it works, although admittedly I did boot into SU mode from my HD, not my Instal Disc (I have tried that, it also works, I just haven't done both together).
    If you can make use of this, post back and tell me what you get from which nvram when you are booted in SU mode from your CD. It's possible that command won't be available on the CD—so we need to check first. If it says "which: no such command", try ls -l /usr/sbin/nvram instead.

  • Installing a program witout user interaction

    Hi
    Is it possible to build a installation that runs in the background, means no interaction from the PC user?
    The senario is, we got at lot of test PCs at different locations and it would be nice if we could push at new version of a program to the PCs and doing it in the background so the operator don't notice it.
    regards Bjarne

    Thank you
    I have made a program with the AppBuilder(LV2012) and want a silent installation.
    The link was helpfull (if I use LV6) but it need an update to include LV2012
    I have posted a comment for that.
    Regards Bjarne

  • HT1338 I  had the geek squad from bestbuy supposedly install iphoto 11 on my mac but it is not there and when i try to download it it say the app has been download by another user on this machine.  What do i need to do get get this app on my system?

    I  had the geek squad from bestbuy supposedly install iphoto 11 on my mac but it is not there and when i try to download it it say the app has been download by another user on this machine.  What do i need to do get get this app on my system?  If they could not do it right the first time I do not have much faith in their advice.

    Assuming you've done a system wide search for it including the Applications folder and it's not there......
    I think you will need to address this with them - did you pay them for the application? Or was your purchase price to include it? And the question(s) to ask them:
    If the app store states that it has been downloaded, ask them where it is and which Apple ID they used. (the store keeps track of Apple IDs and machine IDs on everything you download).
    I have absolutely no faith in their advice; however, in this case, it's not so much technical advice, but an answer to your questions: you paid for something and it appears not to be there.

  • How to make a image file from Pre installed Mac osx ? "PLEASE HELP :("?

    hey guys ..Thanks u for the time.
    So i have this eMac which has crashed and i have got may hands on another eMac.. and it works
    ... the only problem is.. I can take my eMac to the working eMac to do Target Mode or any thing...
    So Help me..
    My question is .. Is there a way to make a .DMG image file from pre installed mac osx OR
    Is there a way to may a recovery disc??

    You can use Carbon Copy Cloner to copy everything from the working eMac onto the non-working eMac while the working eMac is running. If your eMac will still do target mode into the working one, you can download the above software, select the booted drive as the source drive, and your eMac's drive as the target, however it is possible this will not work.
    When you say your eMac crashed, what exactly happened?  It is possible that the hard drive in your eMac failed or is failing, so in order to get it running again you would need to replace the hard drive.  On the eMac, this repair is somewhat involved, and you have to be very careful because it exposes the CRT, which has several areas which can be extremely dangerous to touch if not properly handled.  CRTs retain a great deal of voltage, even when unplugged, sometimes for weeks, and they can give you a nasty shock if you touch them in the wrong place.
    Also keep in mind that cloning from the working computer to the non-working computer will ERASE any data that you have stored on that eMac, so if you don't have it backed up anywhere, you may want to attempt that with target mode before proceeding.
    Good luck!

  • How to accept user inputs from  sql script

    I want to create Tablespace useing sql script , but the location of the data file I need accept from user . (to get the location of the data file ) .
    How can I accept user input from pl/sql .
    Example :
      CREATE TABLESPACE  TSPACE_INDIA LOGGING
         DATAFILE 'H:\ORACLE_DATA\FRSDB\TSPACE_INDI_D1_01.dbf'
         SIZE 500M  AUTOEXTEND ON NEXT  1280K MAXSIZE UNLIMITED
         EXTENT MANAGEMENT LOCAL;here I need to accept location of the datafile from user ie : 'H:\ORACLE_DATA\FRSDB\TSPACE_INDI_D1_01.dbf'

    Hi,
    Whenenever you write dynamic SQL, put the SQL text into a variable. During development, display the variable instead of executing it. If it looks okay, then you can try executing it in addition to displaying it. When you're finished testing, then you can comment out or delete the display.
    For example:
    SET     SERVEROUTPUT     ON
    DECLARE
        flocation     VARCHAR2 (300);
        sql_txt     VARCHAR2 (1000);
    BEGIN
        SELECT  '&Enter_The_Path'
        INTO    flocation
        FROM    dual;
        sql_txt :=  'CREATE TABLESPACE SRC_TSPACE_INDIA LOGGING
         DATAFILE' || flocation || ' "\SRC_TSPACE_INDI_D1_01.dbf" ' || '
         SIZE 500M  AUTOEXTEND ON NEXT  1280K MAXSIZE UNLIMITED
         EXTENT MANAGEMENT LOCAL ';
        dbms_output.put_line (sql_txt || ' = sql_txt');
    --  EXECUTE IMMEDIATE sql_txt;
    END;
    /When you run it, you'll see something like this:
    Enter value for enter_the_path: c:\d\fubar
    old   5:     SELECT  '&Enter_The_Path'
    new   5:     SELECT  'c:\d\fubar'
    CREATE TABLESPACE SRC_TSPACE_INDIA LOGGING
         DATAFILEc:\d\fubar
    "\SRC_TSPACE_INDI_D1_01.dbf"
         SIZE 500M  AUTOEXTEND ON NEXT  1280K MAXSIZE
    UNLIMITED
         EXTENT MANAGEMENT LOCAL  = sql_txt
    PL/SQL procedure successfully completed.This makes it easy to see that you're missing a space after the keyword DATAFILE. There are other errrors, too. For example, the path name has to be inside the quotes with the file name, without a line-feed between them, and the quotes should be single-quotes, not double-quotes.
    Is there some reason why you're using PL/SQL? In SQL, you can just say:
    CREATE TABLESPACE SRC_TSPACE_INDIA LOGGING
    DATAFILE  '&Enter_The_Path\SRC_TSPACE_INDI_D1_01.dbf'
    SIZE 500M  AUTOEXTEND ON NEXT  1280K MAXSIZE UNLIMITED
    EXTENT MANAGEMENT LOCAL;though I would use an ACCEPT command to given a better prompt.
    Given that you want to use PL/SQL, you could assign the value above to sql_txt. If you need a separate PL/SQL variable for flocation, then you can assign it without using dual, for example:
    DECLARE
        flocation     VARCHAR2 (300)     := '&Enter_The_Path';The dual table isn't needed very much in PL/SQL.
    Edited by: Frank Kulash on Jan 10, 2013 6:56 AM

Maybe you are looking for

  • BW Sales Budget retraction to SAP R/3

    Hi , I need some help in Data Retraction from BW to SAP 6.0. I am able to to get data from BW 7.0 to SAP 6.0, the data is a SALES BUDGET.  I am running the Transaction code KELR. The Problem tha i am facing is with the Charactreristics  "PRCTR"  Prof

  • TS1702 How can i report an app for their coding

    Hi, i just wonder how can i report space ape for making bad game? Their samurai siege constantly have bad coding, one instance where they advice their users to change the device clock to "work around their bugs" and do not advice other of potential h

  • RE: Process chain doubt

    Hi Guru's I am loading 4 flatfile data loads(4 info packages) to the same ODS. my question is while creating, a single process chain with the 4 infopackages should i create 4 ODS0 DATA ACTIVATION or a single ODSO DATA ACTIVATION is ok? Can anyone hel

  • HT3258 I'm trying to update from Mac OS X v 10.5.8 to 10.6 greater.

    I'm trying to update from Mac OS X v 10.5.8 to 10.6 greater. The only download I can find is 10.6.8, but it will not allow it to install without 10.6.  Any recommendations?

  • DVD Pro 3 locks up after completing the format phase can anyone help?

    I am very experienced with FCP & DVDSP3. However, starting this week my entire computer locks up after I start to burn a dvd in dvdsp3? I have tried everything I can think of please help. I have burned several dvd's using same footage. I thought mayb