locked
Failed to install Notepad++ virtualized Application using MSI file! but Succeed to publish using APP-V Server. RRS feed

  • Question

  • Hi Team,

    I have seq’d Notepad++ app using APP-V seq 5.0 SP1: 5.0.1104.0, Succeed to publish using APP-V Server and launching the NotePad++ shortcut is success.

    But when I am trying install/Publishing app using MSI file it failed.

    Anybody help me on this issue.

    Please find below log file for MSI Installation.

    Thanks

    Ramesh

    MSI (s) (F0:BC) [10:29:30:211]: Hello, I'm your 64bit Elevated custom action server.
    SFXCA: Extracting custom action to temporary directory: C:\Windows\Installer\MSI7865.tmp-\
    SFXCA: Binding to CLR version v4.0.30319
    Calling custom action AppVMsiPackageTemplate!Microsoft.AppV.MsiTemplate.CustomActions.CustomActions.PublishPackage
    Error: could not load custom action class Microsoft.AppV.MsiTemplate.CustomActions.CustomActions from assembly: AppVMsiPackageTemplate
    System.IO.FileLoadException: Could not load file or assembly 'AppVMsiPackageTemplate, Version=5.0.1104.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A)
    File name: 'AppVMsiPackageTemplate, Version=5.0.1104.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' ---> System.Security.SecurityException: Strong name validation failed. (Exception from HRESULT: 0x8013141A)
    The Zone of the assembly that failed was:
    MyComputer
       at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
       at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
       at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
       at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
       at System.AppDomain.Load(String assemblyString)
       at Microsoft.Deployment.WindowsInstaller.CustomActionProxy.GetCustomActionMethod(Session session, String assemblyName, String className, String methodName)
    
    
    CustomAction PublishPackage64 returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
    Action ended 10:29:30: InstallFinalize. Return value 3.
    MSI (s) (F0:9C) [10:29:30:445]: Note: 1: 2265 2:  3: -2147287035 
    MSI (s) (F0:9C) [10:29:30:445]: User policy value 'DisableRollback' is 0
    MSI (s) (F0:9C) [10:29:30:445]: Machine policy value 'DisableRollback' is 0
    MSI (s) (F0:9C) [10:29:30:447]: Executing op: Header(Signature=1397708873,Version=500,Timestamp=1125077936,LangId=1033,Platform=589824,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=1)
    MSI (s) (F0:9C) [10:29:30:447]: Executing op: DialogInfo(Type=0,Argument=1033)
    MSI (s) (F0:9C) [10:29:30:447]: Executing op: DialogInfo(Type=1,Argument=NotePad Plus Plus 6.4.5 x86)
    MSI (s) (F0:9C) [10:29:30:448]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,RollbackTemplate=[1],CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1])
    MSI (s) (F0:9C) [10:29:30:449]: Executing op: ActionStart(Name=PublishPackage64,,)
    MSI (s) (F0:9C) [10:29:30:450]: Executing op: ProductInfo(ProductKey={0969EA83-55EE-4E17-81E8-378F48D293C3},ProductName=NotePad Plus Plus 6.4.5 x86,PackageName=NotePad Plus Plus 6.4.5 x86.msi,Language=1033,Version=16777216,Assignment=1,ObsoleteArg=0,,,PackageCode={0ddc1b14-6916-4026-8f76-668040197810},,,InstanceType=0,LUASetting=0,RemoteURTInstalls=0,ProductDeploymentFlags=3)
    MSI (s) (F0:9C) [10:29:30:451]: Executing op: ActionStart(Name=RollbackPublishPackage64,,)
    MSI (s) (F0:9C) [10:29:30:451]: Executing op: CustomActionRollback(Action=RollbackPublishPackage64,ActionType=3329,Source=BinaryData,Target=RemovePackage,CustomActionData=MSI_TEMPLATE_REGKEY=Software\Microsoft\AppV\MsiTemplate\{0969EA83-55EE-4E17-81E8-378F48D293C3})
    MSI (s) (F0:14) [10:29:30:475]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI797F.tmp, Entrypoint: RemovePackage
    SFXCA: Extracting custom action to temporary directory: C:\Windows\Installer\MSI797F.tmp-\
    SFXCA: Binding to CLR version v4.0.30319
    Calling custom action AppVMsiPackageTemplate!Microsoft.AppV.MsiTemplate.CustomActions.CustomActions.RemovePackage
    Error: could not load custom action class Microsoft.AppV.MsiTemplate.CustomActions.CustomActions from assembly: AppVMsiPackageTemplate
    System.IO.FileLoadException: Could not load file or assembly 'AppVMsiPackageTemplate, Version=5.0.1104.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A)
    File name: 'AppVMsiPackageTemplate, Version=5.0.1104.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' ---> System.Security.SecurityException: Strong name validation failed. (Exception from HRESULT: 0x8013141A)
    The Zone of the assembly that failed was:
    MyComputer
       at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
       at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
       at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
       at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
       at System.AppDomain.Load(String assemblyString)
       at Microsoft.Deployment.WindowsInstaller.CustomActionProxy.GetCustomActionMethod(Session session, String assemblyName, String className, String methodName)
    
    
    CustomAction RollbackPublishPackage64 returned actual error code 1603 but will be translated to success due to continue marking



    • Edited by Er Reddy Thursday, August 15, 2013 5:59 PM
    Thursday, August 15, 2013 5:46 PM

Answers