Deployment Tool, Different Config Files, Same Results

I should mention that I'm generating App-V 5 packages for Office 2013. Maybe this question belongs in the App-V forums.
I can't seem to create a configuration file for the Office Deployment Tool that does what I want. This configuration:
<Configuration>
<Add SourcePath="D:\Something\Something\Source\Full Suite" OfficeClientEdition="32">
<Product ID="ProPlusVolume">
<Language ID="en-us" />
</Product>
<Product ID="VisioProVolume">
<Language ID="en-us" />
</Product>
<Product ID="ProjectProVolume">
<Language ID="en-us" />
</Product>
</Add>
</Configuration>
generates an App-V package with the "basic" Office apps (Word, Excel, etc.), along with Visio and Project. That part is fine.
If I remove the Product elements for Project and Visio, I expect that a "basic" Office package will be created. However, Visio and Project are still in the package, and they are indeed usable. We have limited licenses for Project and Visio, so
I would like them not to be deployed to every machine.
I have tried giving the two configuration files their own source folders, that is, running the download command once for each configuration file and telling it to download to two different folders... same results.
This is similar to John Marcum's follow-up question at
https://social.technet.microsoft.com/Forums/office/en-US/c9462446-7744-4e3e-8c25-dbcd185a17e4/creating-lync-and-onenote-appv-packages?forum=officesetupdeploy

Kazzan's reply technically does work, and it is a viable option. However, that reply led me to wonder what the Office Deployment Tool (ODT) is doing to a machine that makes generating different packages difficult or impossible.
I found that the ODT leaves files behind in the current user's Temp directory, after the package generation is finished. At least one of these folders (named Microsoft Office 15) contains the file system contents of the App-V package. So, I decided
to clear the Temp directory in between runs of the Office Deployment Tool. Simply clearing this directory was not enough to solve the problem, but I'm still doing it as part of the build process.
Running Process Monitor showed me activity in HKCU\Software\Microsoft\Office\15.0\ClickToRun. Deleting this entire key does not appear to be necessary, and I'm not sure what that would do if you actually used Office Click-To-Run on the same machine on which
you're running ODT.  So, I deleted just these keys:
HKCU\Software\Microsoft\Office\15.0\ClickToRun\Configuration
HKCU\Software\Microsoft\Office\15.0\ClickToRun\ProductReleaseIDs
HKCU\Software\Microsoft\Office\15.0\ClickToRun\Scenario\APPVPACKAGE
Deleting those keys, along with the Temp directory cleanup, is sufficient to let me build multiple Office 2013 App-V 5 packages on the same computer.

Similar Messages

  • I'm having trouble upgrading to ITunes v12.0.1 with Win 7. Download progress bar stalls and eventually cancels itself. Have tried Tools -- Download Only, but same result. Have been using iTunes for 3  years without difficulty

    I'm having trouble upgrading to ITunes v12.0.1 with
    Win 7. Download progress bar stalls and eventually cancels itself. Have tried
    Tools --> Download Only, but same result. Have been using iTunes for 3+
    years without difficulty; I have lots of ram, hard drive and speed.
    Thanks for your input

    One step listed in the link to "helpful" info, was (when Iooked 30 seconds ago), to search for and download the newest version of iTunes. I'm running iTunes on Win 7 machine and was prompted to update today, 10.22.2014, and did so without a problem. Having said that, however, it looks as though the latest iTunes (12.0.1.26) is finally doing what the last version refused to do, which is to actually fully populate all my playlists on my 6, but there is a hitch: 12.0.1.26 will NOT allow you to show the sidebar unless you click on "playlists," that is, you cannot keep it open all the time.
    And, when plugging the 6 into the computer, the phone icon shows up but clicking on it does nada. What does work, for some strange reason, is clicking on the tiny icon (just under the "Store" menu link at top screen) which looks much like a tiny barrel, someone's idea of external drives, I suppose. The phone then comes up, with the list of stuff on the phone just under it where the sidebar used to be. Sync is now restricted to the lower right of the screen.
    Apparently, you will also need to update your iPhone's software as well; some friends with the 4 and 4s, however, had troubles with them after upgrading. The message from Silicon Valley (I can see Apple from my backyard, ha ha) is apparently, "keep upgrading," folks, get rid of those old phones.

  • Application - current vi path different - config file

    If I want to use config files (ini files) with an application, to store settings between runs of the application,
    I would like to name the conifg file the same as the application, just with a different ending:
    application.ext with config file application.ini
    For this, I am using the 'current vi's path' and work from there.
    I realised that the 'current vi's path' of the application is different from the one of the vi itself, even with the original vi being in the same directory as the application.
    The application returns the vi in a path that includes the applicatinon as a directory.
    e.g.
    \programs\application.exe
    gives path
    \programs\application.exe\original.vi
    Thus, it seems that I need a different way of stripping/appending the path for the original vi and for the application, when creating the path for the configuration file.
    Is there a way around it?
    Is the only way to program a 'smart' stripping tool, that checks if the current path includes an xxx.exe part, and then creates the path for the config file accordingly? (This is what I will do, if there is no simpler solution)
    Thanks for any help,
    Stephan

    Hi Stephan
    You don't need a 'smart' stripping tool. Just check in your main vi if it is run by the LV runtime environment or the LV dev. system. Depending on this, either strip the path once or strip it twice.
    Thomas
    Message Edited by becktho on 12-21-2005 03:12 PM
    Using LV8.0
    Don't be afraid to rate a good answer...
    Attachments:
    StripPath.vi ‏16 KB

  • Log4J: Different config files for different applications?

    Hi all.
    If you run an application which uses Log4J logging it's enough to place the log4j.xml file in the Classpath.
    But how do you specify which configuration file to use during startup of a Java programm if they need different configurations but have the same classpath?
    Thanks in advance
    Carsten

    my log4j knowledge is a bit outdated - but somewhere in your apps you should have a line that loads the properties file, something like:PropertyConfigurator.configure(path_to_log4j.properties);And the log4j.properties file should be in your app's EAR file somewhere - and since the app server creates a context for each application, I don't think there would be any "bleed over". So, does your setup differ from this somehow?
    Good Luck
    Lee

  • How to specify a different config file for a weblogic 6.1 server

    Hi,
    I have 2 weblogic startup scripts (startWebLogic.sh and
    startWebLogic_recovery.sh) for the same domain.
    startWebLogic.sh uses config.xml file.
    I would like to use config_recovery.xml as the configuration file for startWebLogic_recovery.sh
    How would I do this ?
    I am using WebLogic Server 6.1 on SunOS 5.8 / HP-UX 11.0.
    Appreciate any help.
    Regards
    Gunaseelan Venkateswaran

    Hello Gunaseelan,
    This is not possible because WLS 6.1 needs a config.xml file, exactly this
    name, to start.
    What you can do is to define a recovery domain, called myrecovery_domain for
    instance, and put the config_recovery.xml, renamed "config.xml".
    Hope this helps,
    Ludovic.
    Developer Relations Engineer
    BEA Support.
    "Gunaseelan Venkateswaran" <[email protected]> a écrit dans le message
    news: 3cd6a324$[email protected]..
    >
    Hi,
    I have 2 weblogic startup scripts (startWebLogic.sh and
    startWebLogic_recovery.sh) for the same domain.
    startWebLogic.sh uses config.xml file.
    I would like to use config_recovery.xml as the configuration file forstartWebLogic_recovery.sh
    >
    >
    How would I do this ?
    I am using WebLogic Server 6.1 on SunOS 5.8 / HP-UX 11.0.
    Appreciate any help.
    Regards
    Gunaseelan Venkateswaran

  • HT1414 I have an ITouch about a year old that has never been used. When trying to sync with Itunes, get message: The IPod ITouch could not be restored. An unknown error occurred (-1). I have tried 2 different computers with same result. IPod was reset def

    Itouch was reset to factory defaults. Have tried ideas listed in ITunes help. Any ideas?

    Error 1 or -1
    This may indicate a hardware issue with your device. Follow Troubleshooting security software issues, and restore your device on a different known-good computer. If the errors persist on another computer, the device may need service.
    The" may need service' meand there is a hardware problem. In that case make an appointment at the Genius Bar of an Apple store.
      Apple Retail Store - Genius Bar

  • Office Deployment Tool Config for 2013 Pro Plus

    Hi!
       I'm trying to update an installation of Microsoft Office Professional Plus 2013 and wonder if somebody could help me with the correct Product ID to use for the Office Deployment Tool configuration.xml file?  Almost all the examples seem to
    use O365ProPlusRetail.
       The configuration documentation here discusses only Office 365: http://technet.microsoft.com/en-us/library/jj219426%28v=office.15%29.aspx
       But it links to this page, which lists product IDs, but no description (thank you not very much!): http://support.microsoft.com/kb/2842297/en-us
       There's a "ProfessionalRetail" there; elsewhere I've seen a "ProPlusRetail" which isn't listed there, and I'm hoping that if I get the right Product ID I can get this cantankerous update process to work!
       Thanks much,
           Rob

    Hi,
    Microsoft have used some rather confusing product marketing terms, which makes it hard to get clear, and also to be clear, when it comes to this release of Office :(
    Office 2013ProfessionalPlus - installation uses the classic setup.exe + MSI engine. Can be updated via WSUS.
    Office365ProPlus - installation uses the new ODT, and results in C2R virtualized "installation". Can't be updated via WSUS.
    So, if you're using the ODT, then you're not using Office2013ProfessionalPlus..
    Reference for the Product element:
    http://technet.microsoft.com/en-us/library/jj219426(v=office.15).aspx#BKMK_ProductElement
    Reference including Retail Product elements:
    http://support.microsoft.com/kb/2842297/en-au
    NB: the update process will probably be cantankerous even after you get it working ;)
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • Can I create and use 2 PKCS11 Providers, each with different config?

    Here is the code I am running twice with different configFilePaths:
         setNssProvider(new SunPKCS11(getConfigFilePath()));
         Security.addProvider(nssProvider);
         Security.removeProvider("SunJSSE");
         Provider jsse = new com.sun.net.ssl.internal.ssl.Provider(nssProvider);
         Security.addProvider(jsse);
         keyStore = KeyStore.getInstance("PKCS11", nss);
         keyStore.load(null, ksParams.getKeyStorePassword().toCharArray());
    I am getting a ProviderException, presumable where I create the SunPKCS11 instance:
         ProviderException: Secmod directory c:\nss\fips2db invalid, NSS already initialized with c:\nss\fips1db
    Is it possible to run two PKCS11 Providers, with different configs, in the same address space?
    Thank you,
    Rob

    reefedjib wrote:
    Is there anyone else who could comment on my problem, here? I am really hoping that someone can point me to a solution.I realized I was using the same name in the config files. I changed it to be different and the same result is occurring.
    ProviderException: Secmod directory c:\nss\fips2db invalid, NSS already initialized with c:\nss\fips1dbHere are my two config files:
    name = NSSfips1
    nssLibraryDirectory = c:\nss\lib
    nssSecmodDirectory = c:\nss\fips1db
    nssModule = fips
    name = NSSfips2
    nssLibraryDirectory = c:\nss\lib
    nssSecmodDirectory = c:\nss\fips2db
    nssModule = fipsAny word on this?
    Thanks

  • How to specify JDBC Oracle url using deployment tool - Entity Bean

    Hello I'am new to EJB.
    When creating a entity bean-managed persistence and you need to specify the jdbc url with user name
    and password to establish a connection object, how does one specify that in the deployment
    tool?
    Heres an example of what has in the J2EE tutorial has in AccountEJB to get an connection object
    private String dbName = "java:comp/env/jdbc/AccountDB";
    private void makeConnection() throws NamingException, SQLException {
    InitialContext ic = new InitialContext();
    DataSource ds = (DataSource) ic.lookup(dbName);
    con = ds.getConnection();
    Now if my oracle jdbc url is to be jdbc:oracle:thin:@Abe:1521:dev
    ie My host is Abe, port number 1521 and database name of dev and username/password will be system/manager.
    what would my dbName be at the top?
    Would my JNDI lookup of a DataSource resource "java:comp/env/jdbc/AccountDB" become "java:comp/env/jdbc/dev" for starters?
    In the Resource Factories Reference Code I've add a reference of
    Coded Name: jdbc/dev
    Type: javax.sql.DataSource
    Authentication: Container
    and down the bottom of the I've put JNDI Name: MyAccount
    according to the AccountClient code of:
    Context initial = new InitialContext();
    Object objref = initial.lookup("MyAccount");
    and put User Name of "system" and Password of "manager"
    I'am sure in the source code I have to put
    Class.forName("oracle.jdbc.driver.OracleDriver")
    else you would get that no sutitable driver error, maybe you don't have to if ejb server is smart enough?
    What I'am confuse about is where to specify the jdbc url of "jdbc:oracle:thin:@Abe:1521:dev" ??
    Know it won't work because of this vital part. Do you have to put that somewhere else in the deployment tool or properties file, or some other tool??
    Please help
    Thanks
    Abraham Khalil

    When running the client after successful deployment with jdbc, I'am getting
    javax.naming.CommunicationException: java.rmi.MarshalException: CORBA MARSHAL 1398079699 Maybe; nested exception is:
    org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : minor code: 1398079699 completed: Maybe
    org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : minor code: 1398079699 completed: Maybe
    at com.sun.corba.ee.internal.iiop.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:923)
    at com.sun.corba.ee.internal.iiop.CDRInputStream.read_value(CDRInputStream.java:281)
    at com.sun.corba.ee.internal.corba.TCUtility.unmarshalIn(TCUtility.java:274)
    at com.sun.corba.ee.internal.corba.AnyImpl.read_value(AnyImpl.java:554)
    at com.sun.corba.ee.internal.iiop.CDRInputStream_1_0.read_any(CDRInputStream_1_0.java:605)
    at com.sun.corba.ee.internal.iiop.CDRInputStream.read_any(CDRInputStream.java:252)
    at com.sun.corba.ee.internal.javax.rmi.CORBA.Util.readAny(Util.java:203)
    at javax.rmi.CORBA.Util.readAny(Unknown Source)
    at org.omg.stub.com.sun.enterprise.naming._SerialContextProvider_Stub.lookup(Unknown Source)
    at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:133)
    at javax.naming.InitialContext.lookup(Unknown Source)
    at AccountClient.main(AccountClient.java:21)
    at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:151)
    at javax.naming.InitialContext.lookup(Unknown Source)
    at AccountClient.main(AccountClient.java:21)
    One thing I don't like about EJB is that everything is transparent which is good! But its much
    harder to debug! :( Tried to see if I can figure it out. Hope someone has seen this problem before?

  • [SOLVED] Parsing simple config files in pure bash

    Hi everyone,
    I'd like to implement a bash function to parse a simple config file for a script I've wrote. The conifg file contains different sections for different scenarios. Here's an example how it should look like:
    # configuration file
    # global settings
    global {
    DATE_PREFIX="-I"
    SSHFS_OPTS="-C"
    EXT_FULL="full"
    EXT_DIFF="diff"
    EXT_CATALOGUE="catalogue"
    DAR_OPTS="-v -m 256 -y -s 600M -D"
    DAR_NOCOMPR="-Z '*.gz' -Z '*.bz2' -Z '*.zip' -Z '*.png'"
    # system settings
    system {
    DAR_OPTS="-v -m 256 -y -s 200M -D"
    It contains some settings which are global for the whole script and special settings groups which can be used to overwrite global settings.
    The function to parse this config file looks as follows:
    #!/bin/sh
    CONFIG="/home/chi/.daruprc"
    function readconf() {
    match=0
    while read line; do
    # skip comments
    [[ ${line:0:1} == "#" ]] && continue
    # still no match? lets check again
    if [ $match == 0 ]; then
    # do we have an open tag ?
    if [[ ${line:$((${#line}-1))} == "{" ]]; then
    # strip "{"
    group=${line:0:$((${#line}-1))}
    # do we have a match ?
    if [[ ${group} -eq $1 ]]; then
    match=1
    continue
    fi
    continue
    fi
    # found close tag but still no match - continue
    elif [[ ${line:0} == "}" && $match == 0 ]]; then
    continue
    # found close tag after config was read - exit loop
    elif [[ ${line:0} == "}" && $match == 1 ]]; then
    break
    # got a config line return it
    else
    echo $line
    fi
    done < "$CONFIG"
    for line in $(readconf "system"); do
    echo $line
    done
    As you can see I try to just echo the lines at the moment. And here's the problem: It seems I have some " escape issues, if I run it I get the following output:
    ./parseconfig.sh
    DATE_PREFIX="-I"
    SSHFS_OPTS="-C"
    EXT_FULL="full"
    EXT_DIFF="diff"
    EXT_CATALOGUE="catalogue"
    DAR_OPTS="-v
    -m
    256
    -y
    -s
    600M
    -D"
    DAR_NOCOMPR="-Z
    '*.gz'
    -Z
    '*.bz2'
    -Z
    '*.zip'
    -Z
    '*.png'"
    As you can see there are way to much newlines - which leads to problems when I try to use "eval" to initialize the variables.
    I am sure I am missing something simple here, however I am looking for a solution for a few days now - maybe one of the bash gurus on this board can enlighten me ;-).
    Thanks in advance
    PS.: I am trying to do this in pure bash because the script also needs to run on embedded machines with very low memory like my router on which I don't have sed or awk or the like. I also know that I could for example just use different config files to circumvent the whole parsing - but I am just curious if this could work the way I like ;-).
    Last edited by chimeric (2007-11-04 23:20:58)

    chimeric wrote:
    Hi MrWeatherbee,
    well yes, but I want to assign (eval) these lines to get variables out of them. Since the while loop is trapped in its' own subshell I need to return the lines into the parent one to be able to make these variables "visible" in the script itself.
    Right. But I was trying to show you that the way you were going about it wouldn't work at a very fundamental level.
    Without changing too much code just for a quick and dirty demo,
    change:
    # got a config line return it
    else
    echo $line
    fi
    done < "$CONFIG"
    # got a config line return it
    else
    line_array=( "${line_array[@]}" "$line" )
    fi
    done < "$CONFIG"
    numarrayelements=${#line_array[@]}
    and then in the main program code, do this:
    readconf "system"
    for index in $( seq $numarrayelements ); do
    line=${line_array[(($index-1))]}
    echo $line
    done
    Using an array to collect the good lines from the function allows you to reuse them later for whatever purpose. Although other ways exist, you certainly don't want to do what you originally did.
    Edit:
    I posted the code with an incorrectly referenced variable and had to fix it.
    Last edited by MrWeatherbee (2007-11-04 22:46:34)

  • Page links showing the same result

    My problem is whenever I press different links the same result is coming .But when I quit WAS and press again the correct result is coming for the first time ,but pressing the other links showing still the first result.I demonstrated every thing with screen shots here ,Please go through and suggest solution.
    I have configured personal information with ITS iviews(IAC) .Every link kis correctly configured
    When I click on address as below 
    The result is
    It is exactly correct. And rightclicked on properties the url is
    http://xxxxxxxxxx/sap(ZT1OSDFPTnBTOGkwbWptQ0tQRlE1b3R3JTNEJTNET3Z4M3J5ZkdObE9BZXFnMU1xOU1tdyUzRCUzRA==)/bc/gui/sap/its/ZPZ02
    Then I clicked on back and came to personal home page and clicked on bank information as below
    And the result is showing address iview which it should not.
    the url is correct http://xxxxxxxxx/sap(ZT1OSDFPTnBTOGkwbWptQ0tQRlE1b3R3JTNEJTNET3Z4M3J5ZkdObE9BZXFnMU1xOU1tdyUzRCUzRA==)/bc/gui/sap/its/PZ03
    But when I  press quit as below
    The screen coming as below
    Then I tried the link bank information the result coming correctly
    Correct result

    This happened to me too. I noted the beginning of the URL and checked my cookies to see if there were any out there that were similar to the beginning letters of the URL. Sure enough there was one - monstermarketing in my case. Once I deleted the cookie I was no longer misdirected to other web sites.

  • Error: null/config/deploy.properties (No such file or directory)

    Hi,
    I installed Weblogic 10.3.5, SOA Suite 11.1.1.5 and the installed AIA 11.1.1.5. Install completes successfully and everything seems to be up and running for AIA in the Enterprise Manager but when I go to the following
    http://hostname:8001/AIA
    Login and click on the 'About AIA' on the top right hand corner I get the following error
    Error: null/config/deploy.properties (No such file or directory)
    I have re-installed and installed it in 3 environments with same results, so I am thinking I am missing a step somewhere. Any advice on how to fix this issue?
    Thanks
    Jaco

    Hi Jaco,
    This issue is fixed in AIA 11.1.1.6.0 version. Either upgrade your AIA version to 11.1.1.6.0 or apply RUP2(Patch#13247584) on AIA 11.1.1.5.0.
    Regards
    Siva Shankar
    Tech Democracy

  • Download O365 installer files using Office Deployment Tool times out...

    Hi,
    We need to deploy O365ProPlus as part of an operating system image using MDT.  I was pointed to this page for instructions:
    https://technet.microsoft.com/en-us/library/dn314789.aspx
    We first needed to download the source files, so I first downloaded the Office Deployment Tool and used this to download the O365ProPlus image to my MDT server.
    I created the following config file (O365x64.xml):
    <Configuration>
      <Add SourcePath="X:\O365\" OfficeClientEdition="64">
       <Product ID="O365ProPlusRetail" >
         <Language ID="nb-no" />      
       </Product>
      </Add>
    </Configuration>
    And I invoke the command to run the Office Deployment Tool:
    .\setup.exe /download X:\O365.x64.xml
    Then the process creates a folder X:\O365\Office\Data with a couple of 16kb CAB files, but nothing happens apart from this.
    What am I doing wrong...?  I expect the Office folder to be alteast a gigabyte...
    Thanks for comments
    Tor

    Please first check your network or switch to a different network, then try again.
    Additionally, you might want to check if your network setting/firewall setting is blocking any Office 365 IP address/URL:
    https://technet.microsoft.com/en-us/library/hh373144.aspx
    Regards,
    Kapaal

  • How to create different log files for each of web applications deployed in OC4J

    Hi All,
    I am using OC4J(from Oracle) v1.0.2.2 and Windows2000. Now I want to know
    1. how to create different log files for each of my deployed web applications ?
    2. what are the advantages in running multiple instances of oc4j and in what case we should run
    multiple instances of OC4J ?
    3. how to run OC4J as Windows2000 Service rather than Windows2000 Application ?
    Thanks and Regards,
    Kumar.

    Hi Avi,
    First of all I have given a first reading to log4j and I think there will some more easy way of logging debugging messages than log4j (If you could provide me a detailed explanation of a servlet,jsp,java bean that uses log4j and how to use log4j then it will be very helpful for me). The other easy ways (if I am not using log4j) to my problem i.e creating different log files for each of web applications deployed in oc4j are
    I have created multiple instances of OC4J that are configured to run on different ports and so on each instance I have deployed a single web application . And I started the 2 oc4j instances by transferring thier error/log messages to a file. And the other way is ..
    I have download from jakarta site a package called servhelper . This servhelper is a thread that is started in a startup servlet and stopped in the destroy method of that startup servlet. So this thread will automatically capture all the system.out.println's and will print those to a file. I believe that this thread program is synchronized. So in this method I need not run multiple instances of OC4J instead each deployed web application on single instance of oc4j uses the same thread program (ofcourse a copy of thread program is put in each of the deployed web applications directories) to log messages on to different log files.
    Can you comment on my above 2 approached to logging debugging messages and a compartive explanation to LOG4J and how to use LOG4J using a simple servlet, simple jsp is appreciated ...
    Thanks and Regards,
    Ravi.

  • How to specify the webLogic server startup script to use different config.xml  file ??

    Hi,
    I have 2 weblogic startup scripts (startWebLogic.sh and
    startWebLogic_recovery.sh) for the same domain.
    startWebLogic.sh uses config.xml file.
    I would like to use config_recovery.xml as the configuration file for startWebLogic_recovery.sh
    How would I do this ?
    I am using WebLogic Server 6.1 on SunOS 5.8 / HP-UX 11.0.
    Appreciate any help.
    Regards
    Gunaseelan Venkateswaran

    I guess you're using Weblogic 6.1 with WLCS 3.5. I think you're supposed to work with one config.xml for the same domain, and not have a different config.xml.
    To start up different applications or EJBs, use the "target" property to control which applications to start up for the particular instance.
    YY

Maybe you are looking for