Passing MSI properties causes itunessetup to fail

Trying to install latest iTunes 11.0.2.26
Installing on Windows 7 x86 SP1 all updates applied.
Here is the behavior I've noticed.
If trying to run iTunesSetup.exe via command line and you pass any MSI PROPERTY arguments to the setup it will fail.
It always fails at the exact same spot which is the Apple Mobile Device Service. It will fail to start with error code 1920. This happens regardless if I am running as an Administrator account, or even logged in as the actual local administrator. I have confirmed the problem still happens even when trying to call the EXE from an elevated command prompt. UAC is also already disabled.
The following command will work if you do not pass PROPERTY elements to the installer.
iTunesSetup.exe /q
However if you attempt to use the following command the install will fail.
iTunesSetup.exe /qb DESKTOP_SHORTCUTS=0
Below is a result of running logging during the install using argument
/l*v! log.txt
MSI (s) (A0:00) [07:24:52:702]: Executing op: RegOpenKey(Root=-2147483646,Key=SOFTWARE\MozillaPlugins\@Apple.com/iTunes,versi on=1.0\MimeTypes\applications/itunes-plugin,,BinaryType=0,,)
MSI (s) (A0:00) [07:24:52:702]: Executing op: RegAddValue(Name=Description,Value=This plug-in detects the presence of iTunes when opening iTunes Store URLs in a web page with Firefox,)
MSI (s) (A0:00) [07:24:52:702]: Executing op: RegAddValue(Name=Suffixes,,)
MSI (s) (A0:00) [07:24:52:718]: Executing op: RegOpenKey(Root=-2147483646,Key=SOFTWARE\Apple Inc.\CoreFP,,BinaryType=0,,)
MSI (s) (A0:00) [07:24:52:718]: Executing op: RegAddValue(Name=LibraryPath,Value=C:\Program Files\Common Files\Apple\CoreFP\CoreFP.dll,)
MSI (s) (A0:00) [07:24:52:718]: Executing op: ActionStart(Name=RegisterTypeLibraries,Description=Registering type libraries,Template=LibID: [1])
MSI (s) (A0:00) [07:24:52:718]: Executing op: TypeLibraryRegister(,,FilePath=C:\Program Files\iPod\bin\iPodService.exe,LibID={46BC1593-FE6B-419C-922D-AF3591AED129},,,L anguage=0,HelpPath=C:\Program Files\iPod\bin\,BinaryType=0,IgnoreRegistrationFailure=0,)
MSI (s) (A0:00) [07:24:52:733]: QueryPathOfRegTypeLib returned -2147319779 in local context.          Path is ''
MSI (s) (A0:00) [07:24:52:733]: CMsiServices::ProcessTypeLibrary runs in local context, not impersonated.
MSI (s) (A0:00) [07:24:52:765]: ProcessTypeLibraryCore returns: 0. (0 means OK)
MSI (s) (A0:00) [07:24:52:765]: Executing op: TypeLibraryRegister(,,FilePath=C:\Windows\system32\atl.dll,LibID={44EC0535-400F -11D0-9DCD-00A0C90391D3},,,Language=0,,BinaryType=0,IgnoreRegistrationFailure=1, )
MSI (s) (A0:00) [07:24:52:765]: QueryPathOfRegTypeLib returned 0 in local context.          Path is 'C:\Windows\system32\atl.dll'
MSI (s) (A0:00) [07:24:52:765]: SFC: The following entry was not removed, because its key is protected by Windows: Key: \TypeLib\{44EC0535-400F-11D0-9DCD-00A0C90391D3}\100.0\0\win32 win32
MSI (s) (A0:00) [07:24:52:765]: CMsiServices::ProcessTypeLibrary runs in local context, not impersonated.
MSI (s) (A0:00) [07:24:52:765]: ProcessTypeLibraryCore returns: -2147319780. (0 means OK)
MSI (s) (A0:00) [07:24:52:765]: Note: 1: 2107 2: C:\Windows\system32\atl.dll 3: -2147319780
Info 1912. Could not unregister type library for file C:\Windows\system32\atl.dll.  Contact your support personnel.
MSI (s) (A0:00) [07:24:52:780]: CMsiServices::ProcessTypeLibrary runs in local context, not impersonated.
MSI (s) (A0:00) [07:24:52:780]: ProcessTypeLibraryCore returns: 0. (0 means OK)
MSI (s) (A0:00) [07:24:52:796]: Executing op: ActionStart(Name=SelfRegModules,Description=Registering modules,Template=File: [1], Folder: [2])
MSI (s) (A0:00) [07:24:52:796]: Executing op: ProgressTotal(Total=4,Type=1,ByteEquivalent=1300000)
MSI (s) (A0:00) [07:24:52:796]: Executing op: SetTargetFolder(Folder=C:\Program Files\iTunes\)
MSI (s) (A0:00) [07:24:52:796]: Executing op: RegSelfReg(File=iPodUpdaterExt.dll,FileID=iPodUpdaterExt.dll)
MSI (s) (A0:00) [07:24:52:812]: Executing op: RegSelfReg(File=iTunesMiniPlayer.dll,FileID=iTunesMiniPlayer.dll)
MSI (s) (A0:00) [07:24:52:874]: Executing op: RegSelfReg(File=ITDetector.ocx,FileID=ITDetector.ocx)
MSI (s) (A0:00) [07:24:52:905]: Executing op: RegSelfReg(File=iTunesAdmin.dll,FileID=iTunesAdmin.dll)
MSI (s) (A0:00) [07:24:52:968]: Executing op: ActionStart(Name=iTunes_RegServer,Description=Registering iTunes automation server,)
MSI (s) (A0:00) [07:24:52:983]: Executing op: CustomActionSchedule(Action=iTunes_RegServer,ActionType=3154,Source=C:\Program Files\iTunes\iTunes.exe,Target=/regserver,)
CustomAction iTunes_RegServer returned actual error code 1 but will be translated to success due to continue marking
MSI (s) (A0:00) [07:24:52:999]: Executing op: ActionStart(Name=InstallServices,Description=Installing new services,Template=Service: [2])
MSI (s) (A0:00) [07:24:52:999]: Executing op: ProgressTotal(Total=1,Type=1,ByteEquivalent=1300000)
MSI (s) (A0:00) [07:24:52:999]: Executing op: ServiceInstall(Name=iPod Service,DisplayName=iPod Service,ImagePath="C:\Program Files\iPod\bin\iPodService.exe",ServiceType=16,StartType=3,ErrorControl=1,,Depe ndencies=RpcSs[~][~][~],,,Password=**********,Description=iPod hardware management services,,)
MSI (s) (A0:00) [07:24:53:108]: Executing op: ActionStart(Name=SetIPodServicePermissions,,)
MSI (s) (A0:00) [07:24:53:108]: Executing op: CustomActionSchedule(Action=SetIPodServicePermissions,ActionType=3137,Source=Bi naryData,Target=SetIPodServicePermissions,)
MSI (s) (A0:40) [07:24:53:108]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIF8E.tmp, Entrypoint: SetIPodServicePermissions
MSI (s) (A0:00) [07:24:53:155]: Executing op: ActionStart(Name=StartServices,Description=Starting services,Template=Service: [1])
MSI (s) (A0:00) [07:24:53:155]: Executing op: ProgressTotal(Total=2,Type=1,ByteEquivalent=1300000)
MSI (s) (A0:00) [07:24:53:155]: Executing op: ServiceControl(,Name=iPod Service,Action=1,Wait=0,)
MSI (s) (A0:00) [07:24:53:155]: Executing op: ServiceControl(,Name=Apple Mobile Device,Action=1,Wait=0,)
MSI (c) (10:A4) [07:25:23:172]: Font created.  Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg
Error 1920. Service 'Apple Mobile Device' (Apple Mobile Device) failed to start.  Verify that you have sufficient privileges to start system services.
MSI (s) (A0:00) [07:31:09:516]: Product: iTunes -- Error 1920. Service 'Apple Mobile Device' (Apple Mobile Device) failed to start.  Verify that you have sufficient privileges to start system services.

I guess the short answer is don't try to pass MSI properties to the installer.
I don't think this is anything your fellow users can help with, but you might want to file a report at Bug Reporter.
tt2

Similar Messages

  • I cant open itunes cause quick time failed to initialize (error - 2096)

    i cant open itunes cause quick time failed to initialize (error - 2096)

    hmmmm.
    doublechecking something before proceeding ... are any boxes ticked in the Compatibility tab for your QuickTime?
    (i've seen that message produced when some of the Display Settings boxes in there are ticked, not just the compatibility mode one.)

  • Invalid console application caused WLS to fail to start

    We are using WLS 6.1 SP3 on W2K. In our config.xml, there is no reference
    to
    a console app., after shutting down the WLS using weblogic.Admin, the
    config.xml
    has an entry like this:
    <Application Name="console-1"
    Path="d:\bea\wlserver6.1\config\agileDomain\applications">
    <WebAppComponent Name="console" URI="console.war"/>
    </Application>
    The name 'console-1' caused WLS to fail to start. Any hints. I don't
    believe we have this problem in
    WLS 6.1 SP2.
    Thanks in advance,
    Hien
    =================================================================
    <Aug 5, 2002 12:41:13 PM PDT> <Error> <Management>
    <InvocationTargetException setting attribute Deployed on MBean
    agileDomain:Location=himalayaServer,Name=console-1,Type=ApplicationConfig to
    value true. Method: public void
    weblogic.management.mbeans.custom.Application.setDeployed(boolean) throws
    weblogic.management.DeploymentException,weblogic.management.UndeploymentExce
    ption
    weblogic.j2ee.DeploymentException: Cannot deploy
    WebAppServletContext(1274224,console,/console) on himalayaServer because
    WebAppServletContext(6208755,console,/console) is already registered for
    path /console
    at
    weblogic.servlet.internal.ServletContextManager.registerContext(ServletConte
    xtManager.java:123)
    at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:450)
    at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:78)
    at weblogic.j2ee.Application.deploy(Application.java:271)

    If you send me your entire config.xml file and your application.xml,
    and application-config.xml (if you are using one) I can look at it for
    you.
    >
    =================================================================
    <Aug 5, 2002 12:41:13 PM PDT> <Error> <Management>
    <InvocationTargetException setting attribute Deployed on MBean
    agileDomain:Location=himalayaServer,Name=console-1,Type=ApplicationConfig to
    value true. Method: public void
    weblogic.management.mbeans.custom.Application.setDeployed(boolean) throws
    weblogic.management.DeploymentException,weblogic.management.UndeploymentExce
    ption
    weblogic.j2ee.DeploymentException: Cannot deploy
    WebAppServletContext(1274224,console,/console) on himalayaServer because
    WebAppServletContext(6208755,console,/console) is already registered for
    path /console
    at
    weblogic.servlet.internal.ServletContextManager.registerContext(ServletConte
    xtManager.java:123)
    at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:450)
    at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:78)
    at weblogic.j2ee.Application.deploy(Application.java:271)

  • During the final step of installing after download, I get an error - The Installer encountered an error that caused installation to fail.

    During the final step of installing after download, I get an error - The Installer encountered an error that caused installation to fail.

    Nobody can tell you anything. You have not provided any proper system information or even told us what you are actually downloading.
    Mylenium

  • URGENT: Passing system properties to individual thread processes

    Hi:
    I'm trying to invoke multiple java Servers from a Controller class to enable starting all the servers in a single JVM. The code is shown below:
    public class Controller {
    /** Creates new Controller */
    public Controller() {
    * @param args the command line arguments
    public static void main(String args[]) {
    (new Thread(new Runnable() {
    public void run() {
    ChatServerRMI.Server.main(null);
    })).start();
    (new Thread(new Runnable() {
    public void run() {
    LoginService.LoginServerBaseImpl.main(null);
    })).start();
    However I want to pass system properties/arguments to each main() call. Can someone please explain me how this can be done.....ur help will be appreciated with D$s!
    Thanks in advance.

    If by "system properties" you mean the system properties accessible by System.getProperty("user.dir") and the like, you don't have to do anything to make those available to the threads. They are global and any piece of code can access them.
    If you want to pass arguments to the various "main" methods as if they had been typed at the command line, you just make an array of strings with those arguments and use it as the parameter. For example:ChatServerRMI.Server.main(new String[] {"-port" "2023"});And if you don't want to pass any parameters, do it like this:String[] nothing = new String[0];
    LoginService.LoginServerBaseImpl.main(nothing);

  • Bought new Adobe Acrobat Pro XI tried to install but got message installer encountered an error that caused installation to fail

    Bought new Adobe Acrobat Pro XI tried to install but got message installer encountered an error that caused installation to fail, can anyone help with this?  I am stuck.

    Hello Joe,
    did you purchase your product from these firms like Amazon? If yes, this is not a serial number, only a code with which you can request a serial number from Adobe. Please have a look at http://helpx.adobe.com/x-productkb/global/find-serial-number.html. (Start here: How did you purchase your product?)
    The following part, so I just see at least, ceased to exist on my Adobe website, everything takes place in the link from above. I leave it as an info yet, it might still fit for you. For this purpose, please click your way through to your Adobe Store and find the button "Get Serial Number". Fill in the form and after a while you will get the real serial number.
    Hans-Günter

  • Dot charcter in technical name of the BW hierarchy causes WebI to fail

    Hi,
    I have a WebI report based on a BEx query. The BEx query has a mandatory hierarchy variable. The hierarchy has "." dot character in its technical name. The dot character is used to distinguish 2010 and 2010 profit center hierarchies.
    When a universe is generated on this BEx query, the profit center objects have select staments as
    [!V000002_].1012_].[LEVEL00]
    . I think
    ].1012
    causes parsing to fail. Also, I get the "Supplied XML is not valid" error while drilling down the hierarchy in the Webi prompt.
    I manually replaced the string "].1012]" with "]" in the Universe but it did not help. I still get the error in the Webi prompt.
    I came across the note 1447838. However, it suggests to install FixPack 2.7 to get rid of the above behavior. However, I am already on BI XI 3.1 SP3 and I think I should already have fixpack 2.7.
    Please let me know if anyone has any idea on this issue. Of course, I can look at the possibility of using some other character for distingusing between the hierarchies but curious to know if there is any solution.
    Environment:
    BOE XI 3.1 SP3
    SAP BW 7.01
    BO-SAP Integration Kit SP3
    Universe connection authetication - SSO
    Edited by: Bhargav Gandhi on Sep 21, 2011 11:07 PM

    I upgraded BOE to SP4 but still no luck.
    SP4 includes FixPack 3.1 and FixPack3.1 has a fix for ADAPT01383387 (SAP Note 1447838).
    -Bhargav
    Edited by: Bhargav Gandhi on Oct 4, 2011 4:13 PM

  • Agent MSI properties don't match what's in manual.

    On page 69 of the ZfD401 manual it states that you can add MSI properties
    to the App object that you make to instal the ZfD401 agent on workstations.
    Some of these properties are ADDLOCAL, EDITABLE_MT_ADDRESS, and so on. The
    problem is, when I go into C1 to add MSI properties to this object, I don't
    see the same options. How can I possibly set this thing up to roll-out
    without user intervention if I can't set these properties?
    I'm running ZfD401 IR7.

    Thank you. The book didn't seem to make that apparent.
    > They are SecureCustomProperties properties, so they
    > don't populate the Properties table by default.
    > You add them, by typing them yourself:
    > C1 -> MSI -> Properties -> Add...
    > -> Value Name: Type the custom Property here,
    > you can just mark whatever value that shows
    > and press Delete and then type the custom
    > Property. The value you deleted will not really be
    > deleted, you will find it under the drop-down list again.
    > You can not delete Properties in the MSI from C1, only add.
    >
    > Regards
    > Rolf Lidvall
    > Swedish Radio (Ltd)
    >
    >

  • My ipod won't synch cause the session failed to start

    my ipod won't synch cause the session failed to start
    Help, please

    https://discussions.apple.com/thread/3415227?start=0&tstart=0
    https://discussions.apple.com/message/16400530#16400530

  • ITunesSetup.exe fails to start

    I am trying to install iTunes 9.1.1 while running Windows XP with SP3. Every time I try to run iTunesSetup.exe I get this message: "This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem." I've tried reinstalling and I still get the same error message. What now?

    "This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem."
    That's unusual in this context.
    Related issues when trying to launch iTunes and QuickTime can be caused by issues with the .NET framework on a PC, so it might be worth trying the following document (even though it's about a different issue):
    [iTunes for Windows: "iTunes was not installed properly. Please reinstall iTunes" message|http://support.apple.com/kb/TS3074]
    If you update or repair your .NET framework, does the iTunes installer behave itself or do you still get the same sort of error message?

  • JAVA Sax mapping replaces &_amp; with & causing mapping to fail

    Hi all,
    I have the following mapping scenario:
    Source XML -> Java Sax Mapping -> Graphical Mapping -> Target structure
    The source XML is valid and caters for special characters like & which appear as &_amp; in the XML (ignore the underscore _ without it the editor strips the amp;, isn't that ironic!).
    The second step of the interface mapping, which is the graphical map, is failing. It seems that the Java Sax mapping is replacing &_amp; with & in the XML, which is then causing the graphical map to fail as it cannot handle the special character &.
    Is there anyway I can prevent the Java Sax mapping from changing &amp; to &
    Or is the only solution for me to write extra code in the Java map to convert & back to &_amp; before passing to the second mapping step????
    Any help appreciated.
    Che
    Edited by: Che Eky on Feb 18, 2009 11:05 PM

    Hi..
    Use this in your source xml file for '&' ->"&_amp;" remove the underscore
    Regards..
    Krishna..
    Edited by: PrasannaKrishna Mynam on Feb 19, 2009 2:20 PM
    Edited by: PrasannaKrishna Mynam on Feb 19, 2009 2:20 PM

  • Unhandled exception causes app to fail

    Hi,
    I have a problem with my visual studio 2008 application.  It is written in vb and uses Crystal Reports 2008 v12.2.0.290.   I have one client who has intermittent problems where the program closes down with an unhandled exception.  What's odd is that I have an unhandled exception handler coded but it doesn't fall into it.  The client has 1gb of Ram.  I changed her drive swap file from 750k to 4gb and that seemed to help the problem.  Help, but not make it go away. 
    My application is single instance, and other calls to run reports go into that instance.  The client has other computers where the problem doesn't happen.
    Does anyone have any idea what I can try next?  What would cause an unhandled exception that goes around the unhandled exception handler?  Is it possible this is caused by trying to call a dll that is no longer responding to my program?
    I have run modules comparing a successful run to a failed run on the same computer.  I have a list of dll's that were not loaded for the failed run.
    BROWSEUI  CRYPTUI  IERTUTIL NORMALIZ RASAPI32 RASMAN RTUTILS SHDOCVW SYNCOR11 TAPI32 URLMON WININET WINMM.
    I am not sure how much help this is as they may simply have not loaded because the programs shut down.
    thanks,
    Dan

    The dlls from the Modules do not really show much.
    I would like you to get on SP 3 though;
    https://smpdl.sap-ag.de/~sapidp/012002523100007123572010E/cr2008_sp3.exe
    SP 3 msi     
    https://smpdl.sap-ag.de/~sapidp/012002523100007123592010E/cr2008sp3_redist.zip
    SP 3 msm     
    https://smpdl.sap-ag.de/~sapidp/012002523100007123582010E/cr2008sp3_mm.zip
    Note that in order to install SP3 runtime on the existing install, you will first have to uninstall the current SP0 runtime that is there.
    If the issue persists, it would be good to try to determine some sort of a pattern;
    Report Specific?
    When printing?
    When exporting?
    Load?
    Etc.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • After downloading and creating the MSI for Lightroom, the install fails with no errors reported. Checking compatability, windows comes back with   not compatible on both win 7 and 8.1.

    Installer MSI fails with no error or message of any kind. Tested compatability with the windows compatability check and it comes back as not compatible. What now?

    Hans,
    It is a known problem on Windows 98, Windows and Windows 2000 if you are using Intel Pentium 4 processor with Sun JRE and Symantec JIT. I had the same problem with Windows 98. Oracle has a patch. Please see Note:131299.1 on metalink for details.

  • Space in "Program Files" causing JNI_CreateJavaVM to fail

    JNI experts:
    I'm launching a VM from a .exe (Win2000) written in C using MSVC and using JNI_CreateJavaVM. I'd like to specify the location of my installed jar file using the
    -Djava.class.path=path as an optionString in an options element of JavaVMInitArgs.
    All works wonderfully. Congratulations to all those who made JNI happen :)
    So... there's one problem. When my jar file is installed in c:\Program Files\xyz\myfile.jar the JVM fails to find it. When installed in c:\xyz\myfile.jar the JVM finds it and all is well.
    It looks like this: "-Djava.class.path=c:\Program Files\..."
    So I'm rather convinced the space between Program and Files is causing the problem. I've tried many hacks and searched the web and newsgroups to a large degree... with no luck.
    This is jdk1.3 and I've tried both JDK and JRE dlls:
    c:\Program Files\JavaSoft\JRE\1.3.0_0\bin\hotspot\jvm.dll
    and
    c:\jdk1.3\bin\hotspot\jvm.dll
    I've also tried classic instead of hotspot.
    Any clues would be helpful. Or, can I get access to the JVM code (I know that much of the Java implementation is available in various locations). I'm sure after dissecting that I could find the problem.
    Also, installing the .jar file in a directory without spaces in the name is unacceptable :(
    Thanks much...
    -Clint

    Ok, I've found the problem. For reference:
    1. Use the ext directories (jre/lib/ext). However, this won't work when using older JVMs. Which I'm attempting to provide backward compatibility.
    OR
    2. The java.class.path system property must contain entire path of a jar file, not just a directory containing the jar files of interest.
    ALSO
    3. An odd behavior. When the java.class.path system property contains an invalid path, the JVM seems to add the current working directory (the directory from where the JVM was initated) to the java.class.path property. For instance, I had:
    -Djava.class.path=c:\test;c:\testBad;
    where c:\testBad is not an actual directory. This will make the JVM look in the CWD to look for class files. Or so that is the behavior that I witnessed. Go figure...
    -Clint

  • WLS 10.1 server startup credentials cause server to fail

    Hello all,
    Any guidance or assistance given towards configuring WLS to meet the stated requirements and correct the isssues listed would be greatly appreciated.
    The requirements:
    1. a domain configured with two managed servers in a cluster on a single linux host
    2. admin and managed servers should startup as the "bea" user instead of root
    3. servers should automatically start at boot for run states 3,4,5
    4. node manager should control the servers and restart them if they crash
    5. node manager and admin servers are started at boot in rc script.
    6. node manager is started as root.
    Current Issue:
    servers will not stay running with user/pass set on "server start" page. Credentials used were the admin user for the domain. Why is this breaking?
    Exception: Authentication for user denied
    weblogic.security.SecurityInitializationException: Authentication for user denied
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(Unknown Source)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(Unknown Source)
    at weblogic.security.service.SecurityServiceManager.initialize(Unknown Source)
    at weblogic.security.SecurityService.start(SecurityService.java:141)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    The domain was installed using the admin credentials of "bea" and a password of "abcd1234". These are the correct parameters to put into the "server start" page parameters for each server?

    Admin credentials issue has been resolved. (recreated the domain)
    Any best-practices on how to implement the requirements listed in my previous e-mail would still be really appreciated.
    All of the servers seem to start as the "bea" user now, but one of the two managed servers crashes within 2 minutes of being started. No cause seems evident from the logs with the default logging levels. I have not tracked down the error yet. There are no applications deployed... It seems as if the two managed servers are conflicting somehow.

Maybe you are looking for