Set installer root drive programmatically

Hi Gang,
I'm creating a "master installer" in LV that will in turn install 3 existing apps by running the installers programmatically.  I don't know much about the MSI.  Is there a way to set the root directory programmatically by a command line argument or a text file setting or something?  As with every project, we're pressed for time.
I'll appreciate any help.
Thanks,
Roger

A starting point is to create one of the installers and run its setup.exe with:
setup.exe /?
I don't see a ROOTDIR override. The help says to search NI.com for "InstallerAutomation", which turns up this:
http://digital.ni.com/public.nsf/allkb/878FC4C374013ADF8625733D00688F67?OpenDocument
Not what you need, though.

Similar Messages

  • How to refer to pacman's installation root in pre_install, etc

    I have been unable to find any documentation of exactly how to refer to pacman's installation root from inside the .install script functions. Curious, I started looking through /var/abs/core for some real-world examples that might clue me in. What I found surprised me - from the looks of it, many of the functions there simply assume that their working directory IS the pacman installation root. For example:
    /var/abs/core/ca-certificates/ca-certificates.install:
    post_install() {
    usr/sbin/update-ca-certificates --fresh
    post_upgrade() {
    usr/sbin/update-ca-certificates --fresh
    pre_remove() {
    # clean up certificates
    local _backup=$(mktemp)
    mv etc/ca-certificates.conf ${_backup}
    echo > etc/ca-certificates.conf
    usr/sbin/update-ca-certificates --fresh
    mv ${_backup} etc/ca-certificates.conf
    post_remove() {
    # remove the cert file if it is empty
    [[ -s etc/ssl/certs/ca-certificates.crt ]] || rm -f etc/ssl/certs/ca-certificates.crt
    And yet, some others seem to assume that the install root is "/", like here:
    /var/abs/core/crda/crda.install:
    ## arg 1: the new package version
    post_install() {
    echo "Uncomment the right regulatory domain in /etc/conf.d/wireless-regdom."
    echo "It will automatically be set when necessary."
    ## arg 1: the new package version
    ## arg 2: the old package version
    post_upgrade() {
    # In an upgrade from 1.0.1-1 or older, the wireless-regdom file moves from the crda package
    # to the new wireless-regdb package. If the user changed the file, it is save to overwrite the one
    # from wireless-regdb by the user-defined one
    if [ $(vercmp $2 1.0.1-2) -lt 0 ]; then
    if [ -f /etc/conf.d/wireless-regdom.pacorig -a -n "$(grep -v ^# /etc/conf.d/wireless-regdom.pacorig 2>/dev/null | grep -v ^$)" ]; then
    mv /etc/conf.d/wireless-regdom.pacorig /etc/conf.d/wireless-regdom
    fi
    fi
    or here:
    /var/abs/core/cryptsetup/encrypt_install:
    # vim: set ft=sh:
    install ()
    if [ -z "${CRYPTO_MODULES}" ]; then
    MODULES=" dm-crypt $(all_modules "/crypto/") "
    else
    MODULES=" dm-crypt ${CRYPTO_MODULES} "
    fi
    FILES=""
    SCRIPT="encrypt"
    add_dir "/dev/mapper"
    [ -f "/sbin/cryptsetup" ] && add_binary "/sbin/cryptsetup" "/sbin/cryptsetup"
    [ -f "/usr/sbin/cryptsetup" ] && add_binary "/usr/sbin/cryptsetup" "/sbin/cryptsetup"
    add_binary "/sbin/dmsetup"
    add_file "/lib/udev/rules.d/10-dm.rules"
    add_file "/lib/udev/rules.d/13-dm-disk.rules"
    add_file "/lib/udev/rules.d/95-dm-notify.rules"
    help ()
    cat<<HELPEOF
    This hook allows for an encrypted root device.
    HELPEOF
    Since I'd normally take the PKGBUILDs in /core/ as fairly good examples of what the Arch devs consider best practice, it's leaving me with either two conclusions: this is a bug, or I'm missing something. Any input is appreciated. :)

    We chroot() and then chdir() to the root directory in every install script executed- so it is no assumption at all.
    http://projects.archlinux.org/pacman.gi … aa3e7#n421
    Preference would be to omit the leading /, but due to the chroot/chdir combo, both should work.

  • I can't set up iCloud drive on my iMac after upgrading to Yosemite

    I can't set up iCloud drive on my iMac after upgrading to Yosemite - iPhone and iPad are updated but both say my iMac isn't (even though it is running Yosemite).
    My iMac is OS X Yosemite 10.10 (14A389), memory is 4 GB 1333 MHz DDR3 and storage capacity is 273.64 free of 999.35 GB.
    When i go to System Preferences and click on iCloud. The iCloud Drive section is greyed out and says setting up and a spinning pin wheel. It stays like this the whole time. I have tried restarting the computer. i amanita sure what else to do to make it work. Any suggestion would be great.

    I found another way to correct this...
    1)  Select Message, then go to Preferences,
    2)  a window will appear with 3 options, General, Accounts, Audio Video, don't be surprised when you see a video of yourself, your camera just turned on.
    3) Select Accounts (you may have several here)
    4) Select the account that has "iMessage" under the account name.  This may likely be your Apple ID  ****@me.com
    5) Look at what is checked under the "You can be reached for messages at:"
    6) Select the one account (or more if you like) and deselect the others
    7) Close the window and the problem goes away.
    I'm not longer getting my sons iMessages.

  • Setting up iCloud Drive for a family is a nightmare!

    Setting up iCloud Drive for a family is a nightmare!  I have spent the last two hours trying to figure out a smart way to make it work!  First off, even though the name is similar, iCloud Drive seems to be a very different thing than Google Drive or Dropbox.  There is no "sharing" option.  This is what is so frustrating at the moment.
    My family has used one main Apple ID for years.  I recently upgraded the iCloud space so my daughter could sync her iPhone to the cloud.  So, I updated to Yosemite and iCloud Drive and REALLY LIKED many aspects of the new system.  However, in order to make many of the new features work, like having the text messages come to the computer, and having the phone calls (which are linked to Facetime) come to the computer I am faced with all kinds of dilemmas.  My wife and I have two Macbooks.  In order for her to get her phone calls forwarded to her Macbook she needs to have her phone number AND e-mail address that's associated with the specific iCloud Account that her computer is logged into.  We have mainly been logging in to the same Apple ID.  In order for her to access her own phone vs. mine she will have to log her computer in to a different Apple ID - but that will also mean a new iCloud Drive.
    I think these new features in Yosemite are great - but they are geared towards individual people.  There have been many articles written about how to deal with Apple IDs within a family.  There need to be some updated articles on how to deal with iCloud Drive and a family.  To me it's just way, way too complicated. It seems like it doesn't "just work" anymore.

    It will depend on how much data has to be moved to iCloud Drive. 30 minutes is a long time, but not unbelievable.
    talltenor wrote:
    My MacBook Air has been "setting up iCloud Drive" for 15 hours!
    It's failed. Reboot and try again.

  • HT4407 When installing Windows 7 using Bootcamp, I get message: "Need 64-bit Windows Installation USB drive or DVD."  I thought my install disk was for 32 or 64 bit.  What does this mean?

    When Installing Windows 7 using Bootcamp, I get message:  "Need 64 bit Windows installation USB drive or DVD."  What does this mean?

    It means you need the 64 bit Version of Windows on a USB stick or DVD.

  • Copying large file sets to external drives hangs copy process

    Hi all,
    Goal: to move large media file libraries for iTunes, iPhoto, and iMovie to external drives. Will move this drive as a media drive for a new iMac 2013. I am attempting to consolidate many old drives over the years and consolidate to newer and larger drives.
    Hardware: moving from a Mac Pro 2010 to variety of USB and other drives for use with a 2013 iMac.  The example below is from the boot drive of the Mac Pro. Today, the target drive was a 3 TB Seagate GoFlex ? USB 3 drive formatted as HFS+ Journaled. All drives are this format. I was using the Seagate drive on both the MacPro USB 2 and the iMac USB 3. I also use a NitroAV Firewire and USB hub to connect 3-4 USB and FW drives to the Mac Pro.
    OS: Mac OS X 10.9.1 on Mac Pro 2010
    Problem: Today--trying to copy large file sets such as iTunes, iPhoto libs, iMovie events from internal Mac drives to external drive(s) will hang the copy process (forever). This seems to mostly happen with very large batches of files: for example, an entire folder of iMovie events, the iTunes library; the iPhoto library. Symptom is that the process starts and then hangs at a variety of different points, never completing the copy. Requires a force quit of Finder and then a hard power reboot of the Mac. Recent examples today were (a) a hang at 3 Gb for a 72 Gb iTunes file; (b) hang at 13 Gb for same 72 Gb iTunes file; (c) hang at 61 Gb for a 290 Gb iPhoto file. In the past, I have had similar drive-copying issues from a variety of USB 2, USB 3 and FW drives (old and new) mostly on the Mac Pro 2010. The libraries and programs seem to run fine with no errors. Small folder copying is rarely an issue. Drives are not making weird noises. Drives were checked for permissions and repairs. Early trip to Genius Bar did not find any hardware issues on the internal drives.
    I seem to get these "dropoff" of hard drives unmounting themselves and other drive-copy hangs more often than I should. These drives seem to be ok much of the time but they do drop off here and there.
    Attempted solutions today: (1) Turned off all networking on Mac -- Ethernet and WiFi. This appeared to work and allowed the 72 Gb iTunes file to fully copy without an issue. However, on the next several attempts to copy the iPhoto and the hangs returned (at 16 and then 61 Gb) with no additional workarounds. (2) Restart changes the amount of copying per instance but still hangs. (3) Last line of a crash report said "Thunderbolt" but the Mac Pro had no Thunderbolt or Mini Display Port. I did format the Seagate drive on the new iMac that has Thunderbolt. ???
    Related threads were slightly different. Any thoughts or solutions would be appreciated. Better copy software than Apple's Finder? I want the new Mac to be clean and thus did not do data migration. Should I do that only for the iPhoto library? I'm stumped.
    It seems like more and more people will need to large media file sets to external drives as they load up more and more iPhone movies (my thing) and buy new Macs with smaller Flash storage. Why can't the copy process just "skip" the parts of the thing it can't copy and continue the process? Put an X on the photos/movies that didn't make it?
    Thanks -- John

    I'm having a similar problem.  I'm using a MacBook Pro 2012 with a 500GB SSD as the main drive, 1TB internal drive (removed the optical drive), and also tried running from a Sandisk Ultra 64GB Micro SDXC card with the beta version of Mavericks.
    I have a HUGE 1TB Final Cut Pro library that I need to get off my LaCie Thunderbolt drive and moved to a 3TB WD USB 3.0 drive.  Every time I've tried to copy it the process would hang at some point, roughly 20% of the way through, then my MacBook would eventually restart on its own.  No luck getting the file copied.  Now I'm trying to create a disk image using disk utility to get the file from the Thunderbolt drive and saved to the 3TB WD drive. It's been running for half an hour so far and appears that it could take as long a 5 hours to complete.
    Doing the copy via disk image was a shot in the dark and I'm not sure how well it will work if I need to actually use the files again. I'll post my results after I see what's happened.

  • How to set the conversation id programmatically in a BPM process

    Hi all,
    I am using BPM/SOA 11g PS3.
    Is it possible to set the conversation id programmatically in a BPM process starting with a none start event?
    I know I can set it easily if I use a BPM process starting with a message start event.
    All I have to do is set it in the "wsa:MessageID" node in SOAP Header when I initiate the process instance.
    However, I have no idea how to set the conversation id programmatically in a BPM process starting with a none start event.
    I looked for if there is any appropriate method in the Java api for the process instance management, such as IInstanceManagementService and CompositeInstance, but no method seems to be appropriate.
    Does anyone know how to do this?
    Regards,
    Kenji
    Edited by: Kenji Imamura on 2011/04/20 0:10

    Hi fifty,
    Did you get a solution to the above problem you have mentioned? I have a similar issue i am trying to fix.
    I have a webservice call in a process activity and if the call does not work i get a soap fault and the fuego.lang.ComponentExecutionException . My process requires that i catch the exception infact any kind of exceptions that occur on that call and perform another activity in the process.
    I have defined an exception handler at the activity level for java.lang.Exception and java.lang.RunTimeException.
    i don't see anything in the catalog which would handle the SOAP fault OR the componentexception.

  • Can't install CS4 on Mac's root drive?

    I have a Mac Pro and recently bought CS4 Production Premium.  In the list of known issues, it says "On Mac, you cannot install to the root drive. (#BG044824)"
    Does that mean I cannot install CS4 on my Mac hard drive (the HD that has OSX and all the other applications)?  I have to have a 2nd Mac HD to install it on?
    What exactly is a "root drive"?  I attempted to look up a definition via Google, but nothing definitive came up.
    Thanks for the help!

    It meant the boot drive. If you have only one drive that is fine. It cannot be installed on a secondard drive (non-boot drive).

  • How to set the DFF Attribute Programmatically?

    hi
    how to set the DFF Attribute Programmatically in Process Request of CO
    thanx

    Hi
    Do u want to set the value in DFF Programmatically ?
    u can capture the VO used for DFF and set the the value in controller.
    Thanks

  • How to select active Oracle ODBC Driver programmatically?

    Hi,
    My application creates ODBC DSN to connect with Oracle 10g database server. I need to find out Oracle Driver installed on the system programmatically. I am trying to read KEY_<PRODUCT NUMBER> registry key and eventually searching ORACLE_HOME value. This helps me in searching Oracle Driver in ODBCINST.INI registry key. (Oracle in OraDb10g_home1)
    If multiple Oracle clients are installed on the same system, multiple KEY_<PRODUCT NUMBER> registry keys and oracle drivers would be available. I am not sure which and how to select the current active oracle driver.
    Oracle in OraDb10g_home1
    Oracle in OraDb10g_home2
    Can anybody help me out? Can I use inventory file (inventory.xml) to determince current active home directory? Reading PATH environment variable to identity active home directory would be tedious.

    Please look at following thread for answer.
    How to select active Oracle ODBC Driver programmatically?

  • Exception "already set as root of another scene"

    Hello,
    My application has as a root element an Anchor Pane.
    When trying to have 2 or more instances (new-->..) in my application (because my application supprts many instances of this componenet) i got this error:
    Anchor pane already set as root of another scene.
    Help

    As David said above, this is going to be very hard to diagnose if you don't post some code. Otherwise we just have to make guesses as to what the issue is. Post a simple, self-contained, executable example which demonstrates the problem.

  • HT203242 I've tried all of the suggested solutions, but I still can't get my cd drive recognised.  If I delete the driver and rebot, the cd drive appears, but as soon as the driver automatically installs, the driver disappears into the Q: drive

    I've tried all of the suggested solutions, but I still can't get my cd drive recognised on my laptop.  If I delete the driver and reboot, the cd drive appears, but as soon as the driver automatically installs, the driver disappears into the Q: drive, which is not accessible and neither is the CD drive

    I had the same or similar problem after installin iTunes 11 on my Acer Laptop with Vista. The new iTunes ran but I
    completely lost access to my CdRom/DVD drive. Error Code 19 was displayed in Windows Device Manager. Found out
    this is more widespread of a problem than expected.  After trying several forum recommended fixes, the Only thing that gave me back my CdRom drive was doing a Windows Restore to a date prior to iTunes 11 install.  I got my drive back but it also restored me to the prior 10.0.7.21 vers of iTunes which no longer worked due to missing files. iTunes help
    recommended a Reinstall.  I am reluctant to do that for several reason.  That's where I am at for now until I find out if there are any other risks for using iTunes 11 vs. Registry Errors vs. Losing access to my CdRom drive.  Brad

  • Fail to set vlan in driver [F1ControlPlane::cmgrSscGetVlan]

    Hi,
    I've a problem with a IPS module SSM-10 installed on a ASA5510 in Transparent mode, on the event viewer of IPS module i find this Error:
    errorMessage: Error - Fail to set vlan in driver [F1ControlPlane::cmgrSscGetVlan]  name=errUnclassified
    somebody can help me?
    In attached the ASA and IPS config
    Thanks

    solved :
    That message is due to cosmetic defect CSCtc89228. Its not of concern
    problem-wise (its only cosmetic), and is usually produced when ASDM is
    used to manage the sensor. A potential workaround is to ensure that a
    nameif statement is added to the ASA Management interface (in the ASA
    config):
    http://www.cisco.com/en/US/docs/security/asa/asa80/command/reference/no.html#wp1747183
    F1 Control Plane error message on SSM
    Symptom:
    AIP-SSM generates the following error:
    evError: eventId=1258430054000390184 vendor=Cisco severity=error
    originator:
    hostId: HOSTID
    appName: mainApp
    appInstanceId: 426
    time: Nov 17, 2009 15:06:52 UTC offset=-300 timeZone=GMT-05:00
    errorMessage: Error - Fail to set vlan in driver [F1ControlPlane::cmgrSscGetVlan] name=errUnclassified
    Conditions:
    Seen in 7.0(2)E3.
    Workaround:
    No known workaround at this time.
    Thanks

  • Is there anyway to get netboot to take the netboot set from another drive?

    is there anyway to get netboot to take the netboot set from another drive? Also is there a limit to the amount for data in a neboot set?

    i've managed to put the netboot on another drive however the imacs won't recognise it on bott from network

  • Erreur après l'installation du driver NICAN 2.1.3

    Apres l'installation du driver NICAN 2.1.3 pour carte NI serie 1 PCI, j'ai un message d'erreur au reboot :
    J'ai le message : "Une erreur s'est produite lors de l'installation du périphérique
    Le fichier spécifié est introuvable "
    Si je clique sur OK, l'installation automatique du périphérique recommence et échoue à nouveau et ainsi de suite indéfiniment.
    Par contre, la carte NI fonctionne correctement avec mes applications et le self test sous MAX fonctionne correctement également.
    Comment résoudre ce problème d'installation ?

    Ne vous embêtez plus pour trouver la réponse, je l'ai eu sur un autre post et je vous la colle ci dessous :
    "This sounds like a registry problem. Some times a deinstallation or upgrade of NI drivers deletes a special registry key called RunOnce.
    The result is the problem you wrote about.
    Check in your registry for the following key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\RunOnce
    If you could not find the RunOnce key, you have to create this one.
    good luck"
    Autrement, j'ai résolu le problème tout seul en faisant une mise à jour de mon windows 2000 ce qui a je suppose réparé mon installation.

Maybe you are looking for

  • Caching problem of javascript with servlet

    Hi guys There is a problem of caching with the our project. This project contains two servlets first is getAdServlet and second is richMediaServlet. getadservlet is called thru <script src=""> following is the code: <script LANGUAGE="JAVASCRIPT" src=

  • Why are some of my iPhoto's missing?

    I have a Mac Book Pro version 10.7.4.  I got an Iphone so that I could take pictures and have them stream and download to my computer automatically.  I started this in December.  Today I noticed in my Iphoto library under photos, that many of my Dece

  • Difference between apple ID and mobile me ID

    Updating Apps I was asked to reset my Apple ID Password, which U did but now get a message that I cannot access my mail because it has the wrong password?

  • SXPG_COMMAND_EXECUTE Can't exec external program (No such file or directory

    Hi Experts, I need to launch or terminate an external application (i.e. command prompt, notepad, etc.) in background job by using FM SXPG_COMMAND_EXECUTE. However, I am unable to proceed because of the following error occured after executing the comm

  • Still unable to register

    I downloaded the sun update connection software yesterday in the hope my previous registration error "Exception in web service communication" would be fixed. This seemed to be the case for scheffczyk who posted the thread "System registration not wor