Hello all,
Not sure if this would be the correct forum to address this issue.
I am working on Notepad++ which the customer wants in the self executable portable form or Thinapp flavored. Though the application has been captured well and the most part of the application is working well, but, what's worrying for me is the absence of shell extensions in the virtualized application. I have tried the methods mentioned by the VMWare KB's in the below link, but, going by their saying is causing installation to fail .

http://blogs.vmware.com/thinapp/2011/04/adding-shell-extensions-to-thinapp-packages.html

below is the log of the failure

=== Verbose logging started: 22/12/2014  05:04:04  Build type: SHIP UNICODE 5.00.7601.00  Calling process: C:\WINDOWS\System32\msiexec.exe ===
MSI (c) (4C:BC) [05:04:04:115]: Font created.  Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg

MSI (c) (4C:BC) [05:04:04:115]: Font created.  Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg

MSI (c) (4C:78) [05:04:04:137]: Resetting cached policy values
MSI (c) (4C:78) [05:04:04:137]: Machine policy value 'Debug' is 0
MSI (c) (4C:78) [05:04:04:137]: ******* RunEngine:
           ******* Product: C:\temp\Notepad++.msi
           ******* Action:
           ******* CommandLine: **********
MSI (c) (4C:78) [05:04:04:149]: Machine policy value 'DisableUserInstalls' is 0
MSI (c) (4C:78) [05:04:04:158]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer 3: 2
MSI (c) (4C:78) [05:04:04:159]: SOFTWARE RESTRICTION POLICY: Verifying package --> 'C:\temp\Notepad++.msi' against software restriction policy
MSI (c) (4C:78) [05:04:04:173]: Note: 1: 2262 2: DigitalSignature 3: -2147287038
MSI (c) (4C:78) [05:04:04:173]: SOFTWARE RESTRICTION POLICY: C:\temp\Notepad++.msi is not digitally signed
MSI (c) (4C:78) [05:04:04:175]: SOFTWARE RESTRICTION POLICY: C:\temp\Notepad++.msi is permitted to run at the 'unrestricted' authorization level.
MSI (c) (4C:78) [05:04:04:196]: Cloaking enabled.
MSI (c) (4C:78) [05:04:04:196]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (4C:78) [05:04:04:202]: End dialog not enabled
MSI (c) (4C:78) [05:04:04:203]: Original package ==> C:\temp\Notepad++.msi
MSI (c) (4C:78) [05:04:04:203]: Package we're running from ==> C:\temp\Notepad++.msi
MSI (c) (4C:78) [05:04:04:205]: APPCOMPAT: Compatibility mode property overrides found.
MSI (c) (4C:78) [05:04:04:205]: APPCOMPAT: looking for appcompat database entry with ProductCode '{C6AEEDD2-749E-49BB-BDAE-EDC5C618D0B0}'.
MSI (c) (4C:78) [05:04:04:205]: APPCOMPAT: no matching ProductCode found in database.
MSI (c) (4C:78) [05:04:04:224]: MSCOREE not loaded loading copy from system32
MSI (c) (4C:78) [05:04:04:228]: Machine policy value 'TransformsSecure' is 0
MSI (c) (4C:78) [05:04:04:229]: User policy value 'TransformsAtSource' is 0
MSI (c) (4C:78) [05:04:04:229]: Note: 1: 2262 2: File 3: -2147287038
MSI (c) (4C:78) [05:04:04:229]: Note: 1: 2205 2:  3: MsiFileHash
MSI (c) (4C:78) [05:04:04:229]: Machine policy value 'DisablePatch' is 0
MSI (c) (4C:78) [05:04:04:229]: Machine policy value 'AllowLockdownPatch' is 0
MSI (c) (4C:78) [05:04:04:229]: Machine policy value 'DisableLUAPatching' is 0
MSI (c) (4C:78) [05:04:04:229]: Machine policy value 'DisableFlyWeightPatching' is 0
MSI (c) (4C:78) [05:04:04:230]: APPCOMPAT: looking for appcompat database entry with ProductCode '{C6AEEDD2-749E-49BB-BDAE-EDC5C618D0B0}'.
MSI (c) (4C:78) [05:04:04:230]: APPCOMPAT: no matching ProductCode found in database.
MSI (c) (4C:78) [05:04:04:230]: Transforms are not secure.
MSI (c) (4C:78) [05:04:04:230]: Note: 1: 2205 2:  3: Control
MSI (c) (4C:78) [05:04:04:230]: PROPERTY CHANGE: Adding MsiLogFileLocation property. Its value is 'C:\failure.log'.
MSI (c) (4C:78) [05:04:04:230]: Command Line: CURRENTDIRECTORY=C:\WINDOWS\system32 CLIENTUILEVEL=0 CLIENTPROCESSID=4940
MSI (c) (4C:78) [05:04:04:230]: PROPERTY CHANGE: Adding PackageCode property. Its value is '{164CBBE4-FFF1-427B-A4A3-8CEB14545320}'.
MSI (c) (4C:78) [05:04:04:230]: Product Code passed to Engine.Initialize:           ''
MSI (c) (4C:78) [05:04:04:230]: Product Code from property table before transforms: '{C6AEEDD2-749E-49BB-BDAE-EDC5C618D0B0}'
MSI (c) (4C:78) [05:04:04:230]: Product Code from property table after transforms:  '{C6AEEDD2-749E-49BB-BDAE-EDC5C618D0B0}'
MSI (c) (4C:78) [05:04:04:230]: Product not registered: beginning first-time install
MSI (c) (4C:78) [05:04:04:230]: PROPERTY CHANGE: Adding ProductState property. Its value is '-1'.
MSI (c) (4C:78) [05:04:04:230]: Entering CMsiConfigurationManager::SetLastUsedSource.
MSI (c) (4C:78) [05:04:04:230]: User policy value 'SearchOrder' is 'nmu'
MSI (c) (4C:78) [05:04:04:230]: Adding new sources is allowed.
MSI (c) (4C:78) [05:04:04:230]: PROPERTY CHANGE: Adding PackagecodeChanging property. Its value is '1'.
MSI (c) (4C:78) [05:04:04:230]: Package name extracted from package path: 'Notepad++.msi'
MSI (c) (4C:78) [05:04:04:231]: Package to be registered: 'Notepad++.msi'
MSI (c) (4C:78) [05:04:04:231]: Note: 1: 2262 2: AdminProperties 3: -2147287038
MSI (c) (4C:78) [05:04:04:231]: Machine policy value 'DisableMsi' is 0
MSI (c) (4C:78) [05:04:04:231]: Machine policy value 'AlwaysInstallElevated' is 0
MSI (c) (4C:78) [05:04:04:231]: User policy value 'AlwaysInstallElevated' is 0
MSI (c) (4C:78) [05:04:04:231]: Product installation will be elevated because user is admin and product is being installed per-machine.
MSI (c) (4C:78) [05:04:04:231]: Running product '{C6AEEDD2-749E-49BB-BDAE-EDC5C618D0B0}' with elevated privileges: Product is assigned.
MSI (c) (4C:78) [05:04:04:231]: PROPERTY CHANGE: Adding CURRENTDIRECTORY property. Its value is 'C:\WINDOWS\system32'.
MSI (c) (4C:78) [05:04:04:231]: PROPERTY CHANGE: Adding CLIENTUILEVEL property. Its value is '0'.
MSI (c) (4C:78) [05:04:04:231]: PROPERTY CHANGE: Adding CLIENTPROCESSID property. Its value is '4940'.
MSI (c) (4C:78) [05:04:04:231]: PROPERTY CHANGE: Adding MsiSystemRebootPending property. Its value is '1'.
MSI (c) (4C:78) [05:04:04:231]: TRANSFORMS property is now:
MSI (c) (4C:78) [05:04:04:231]: PROPERTY CHANGE: Adding VersionDatabase property. Its value is '150'.
MSI (c) (4C:78) [05:04:04:232]: SHELL32::SHGetFolderPath returned: C:\Users\XXXXXX\AppData\Roaming
MSI (c) (4C:78) [05:04:04:232]: SHELL32::SHGetFolderPath returned: C:\Users\XXXXXX\Favorites
MSI (c) (4C:78) [05:04:04:233]: SHELL32::SHGetFolderPath returned: C:\Users\XXXXXX\AppData\Roaming\Microsoft\Windows\Network Shortcuts
MSI (c) (4C:78) [05:04:04:233]: SHELL32::SHGetFolderPath returned: C:\Users\XXXXXX\Documents
MSI (c) (4C:78) [05:04:04:233]: SHELL32::SHGetFolderPath returned: C:\Users\XXXXXX\AppData\Roaming\Microsoft\Windows\Printer Shortcuts
MSI (c) (4C:78) [05:04:04:233]: SHELL32::SHGetFolderPath returned: C:\Users\XXXXXX\AppData\Roaming\Microsoft\Windows\Recent
MSI (c) (4C:78) [05:04:04:234]: SHELL32::SHGetFolderPath returned: C:\Users\XXXXXX\AppData\Roaming\Microsoft\Windows\SendTo
MSI (c) (4C:78) [05:04:04:234]: SHELL32::SHGetFolderPath returned: C:\Users\XXXXXX\AppData\Roaming\Microsoft\Windows\Templates
MSI (c) (4C:78) [05:04:04:234]: SHELL32::SHGetFolderPath returned: C:\ProgramData
MSI (c) (4C:78) [05:04:04:235]: SHELL32::SHGetFolderPath returned: C:\Users\XXXXXX\AppData\Local
MSI (c) (4C:78) [05:04:04:235]: SHELL32::SHGetFolderPath returned: C:\Users\XXXXXX\Pictures
MSI (c) (4C:78) [05:04:04:235]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools
MSI (c) (4C:78) [05:04:04:236]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
MSI (c) (4C:78) [05:04:04:236]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs
MSI (c) (4C:78) [05:04:04:236]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu
MSI (c) (4C:78) [05:04:04:236]: SHELL32::SHGetFolderPath returned: C:\Users\Public\Desktop
MSI (c) (4C:78) [05:04:04:237]: SHELL32::SHGetFolderPath returned: C:\Users\XXXXXX\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Administrative Tools
MSI (c) (4C:78) [05:04:04:237]: SHELL32::SHGetFolderPath returned: C:\Users\XXXXXX\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
MSI (c) (4C:78) [05:04:04:237]: SHELL32::SHGetFolderPath returned: C:\Users\XXXXXX\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
MSI (c) (4C:78) [05:04:04:238]: SHELL32::SHGetFolderPath returned: C:\Users\XXXXXX\AppData\Roaming\Microsoft\Windows\Start Menu
MSI (c) (4C:78) [05:04:04:238]: SHELL32::SHGetFolderPath returned: C:\Users\XXXXXX\Desktop
MSI (c) (4C:78) [05:04:04:238]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Templates
MSI (c) (4C:78) [05:04:04:239]: SHELL32::SHGetFolderPath returned: C:\WINDOWS\Fonts
MSI (c) (4C:78) [05:04:04:244]: Note: 1: 2898 2: MS Sans Serif 3: MS Sans Serif 4: 0 5: 16
MSI (c) (4C:78) [05:04:04:261]: MSI_LUA: Setting AdminUser property to 1 because this is the client or the user has already permitted elevation
MSI (c) (4C:78) [05:04:04:261]: MSI_LUA: Setting MsiRunningElevated property to 1 because the install is already running elevated.
MSI (c) (4C:78) [05:04:04:261]: PROPERTY CHANGE: Adding MsiRunningElevated property. Its value is '1'.
MSI (c) (4C:78) [05:04:04:261]: PROPERTY CHANGE: Adding Privileged property. Its value is '1'.
MSI (c) (4C:78) [05:04:04:261]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\MS Setup (ACME)\User Info 3: 2
MSI (c) (4C:78) [05:04:04:261]: PROPERTY CHANGE: Adding USERNAME property. Its value is 'Corporate Users'.
MSI (c) (4C:78) [05:04:04:261]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\MS Setup (ACME)\User Info 3: 2
MSI (c) (4C:78) [05:04:04:261]: PROPERTY CHANGE: Adding COMPANYNAME property. Its value is 'ACCESS'.
MSI (c) (4C:78) [05:04:04:261]: PROPERTY CHANGE: Adding DATABASE property. Its value is 'C:\temp\Notepad++.msi'.
MSI (c) (4C:78) [05:04:04:261]: PROPERTY CHANGE: Adding OriginalDatabase property. Its value is 'C:\temp\Notepad++.msi'.
MSI (c) (4C:78) [05:04:04:261]: Machine policy value 'MsiDisableEmbeddedUI' is 0
MSI (c) (4C:78) [05:04:04:261]: PROPERTY CHANGE: Adding SourceDir property. Its value is 'C:\temp\'.
MSI (c) (4C:78) [05:04:04:261]: PROPERTY CHANGE: Adding SOURCEDIR property. Its value is 'C:\temp\'.
MSI (c) (4C:BC) [05:04:04:303]: PROPERTY CHANGE: Adding VersionHandler property. Its value is '5.00'.
MSI (c) (4C:BC) [05:04:04:303]: Note: 1: 2205 2:  3: ControlEvent
MSI (c) (4C:BC) [05:04:04:303]: Note: 1: 2205 2:  3: ControlCondition
MSI (c) (4C:BC) [05:04:04:303]: Note: 1: 2205 2:  3: EventMapping
MSI (c) (4C:BC) [05:04:04:303]: Note: 1: 2205 2:  3: UIText
MSI (c) (4C:BC) [05:04:04:303]: Note: 1: 2205 2:  3: TextStyle
MSI (c) (4C:BC) [05:04:04:306]: Note: 1: 2205 2:  3: Dialog
=== Logging started: 22/12/2014  05:04:04 ===
MSI (c) (4C:78) [05:04:04:306]: Note: 1: 2205 2:  3: PatchPackage
MSI (c) (4C:78) [05:04:04:306]: Machine policy value 'DisableRollback' is 0
MSI (c) (4C:78) [05:04:04:306]: User policy value 'DisableRollback' is 0
MSI (c) (4C:78) [05:04:04:306]: PROPERTY CHANGE: Adding UILevel property. Its value is '5'.
MSI (c) (4C:78) [05:04:04:309]: PROPERTY CHANGE: Adding ACTION property. Its value is 'INSTALL'.
MSI (c) (4C:78) [05:04:04:309]: Doing action: INSTALL
MSI (c) (4C:78) [05:04:04:309]: Note: 1: 2205 2:  3: ActionText
Action 05:04:04: INSTALL.
Action start 05:04:04: INSTALL.
MSI (c) (4C:78) [05:04:04:310]: UI Sequence table 'InstallUISequence' is present and populated.
MSI (c) (4C:78) [05:04:04:310]: Running UISequence
MSI (c) (4C:78) [05:04:04:310]: PROPERTY CHANGE: Adding EXECUTEACTION property. Its value is 'INSTALL'.
MSI (c) (4C:78) [05:04:04:310]: Doing action: FindRelatedProducts
MSI (c) (4C:78) [05:04:04:310]: Note: 1: 2205 2:  3: ActionText
Action 05:04:04: FindRelatedProducts. Searching for related applications
Action start 05:04:04: FindRelatedProducts.
Action ended 05:04:04: FindRelatedProducts. Return value 1.
MSI (c) (4C:78) [05:04:04:311]: Doing action: ExtractMSIProc
MSI (c) (4C:78) [05:04:04:311]: Note: 1: 2205 2:  3: ActionText
Action 05:04:04: ExtractMSIProc.
Action start 05:04:04: ExtractMSIProc.
MSI (c) (4C:78) [05:04:04:312]: Note: 1: 2235 2:  3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'ExtractMSIProc'
MSI (c) (4C:14) [05:04:04:354]: Invoking remote custom action. DLL: C:\Users\XXXXXX\AppData\Local\Temp\MSI521E.tmp, Entrypoint: ExtractMSIProc
MSI (c) (4C:48) [05:04:04:362]: Cloaking enabled.
MSI (c) (4C:48) [05:04:04:362]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (4C:48) [05:04:04:362]: Connected to service for CA interface.
CustomAction ExtractMSIProc returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 05:04:04: ExtractMSIProc. Return value 3.
Action ended 05:04:04: INSTALL. Return value 3.
MSI (c) (4C:78) [05:04:04:523]: Destroying RemoteAPI object.
MSI (c) (4C:48) [05:04:04:525]: Custom Action Manager thread ending.
Property(C): UpgradeCode = {7BC831CE-5AFB-A24E-8E0A-EE4721E4AF19}
Property(C): SourceDir = C:\temp\
Property(C): ALLUSERS = 1
Property(C): ARPNOMODIFY = 1
Property(C): SecureCustomProperties = OLDERVERSIONBEINGUPGRADED;NEWVERSIONDETECTED
Property(C): ProductCode = {C6AEEDD2-749E-49BB-BDAE-EDC5C618D0B0}
Property(C): ProductName = Notepad++ (VMware ThinApp)
Property(C): ProductVersion = 1.0
Property(C): ProductLanguage = 1033
Property(C): Manufacturer = ECS
Property(C): ThinAppVersion = 5.0.0-1391583
Property(C): ARPPRODUCTICON = ARPICON
Property(C): MsiLogFileLocation = C:\failure.log
Property(C): PackageCode = {164CBBE4-FFF1-427B-A4A3-8CEB14545320}
Property(C): ProductState = -1
Property(C): PackagecodeChanging = 1
Property(C): CURRENTDIRECTORY = C:\WINDOWS\system32
Property(C): CLIENTUILEVEL = 0
Property(C): CLIENTPROCESSID = 4940
Property(C): MsiSystemRebootPending = 1
Property(C): VersionDatabase = 150
Property(C): VersionMsi = 5.00
Property(C): VersionNT = 601
Property(C): VersionNT64 = 601
Property(C): WindowsBuild = 7601
Property(C): ServicePackLevel = 1
Property(C): ServicePackLevelMinor = 0
Property(C): MsiNTProductType = 1
Property(C): WindowsFolder = C:\WINDOWS\
Property(C): WindowsVolume = C:\
Property(C): System64Folder = C:\WINDOWS\system32\
Property(C): SystemFolder = C:\WINDOWS\SysWOW64\
Property(C): RemoteAdminTS = 1
Property(C): TempFolder = C:\Users\XXXXXX\AppData\Local\Temp\
Property(C): ProgramFilesFolder = C:\Program Files (x86)\
Property(C): CommonFilesFolder = C:\Program Files (x86)\Common Files\
Property(C): ProgramFiles64Folder = C:\Program Files\
Property(C): CommonFiles64Folder = C:\Program Files\Common Files\
Property(C): AppDataFolder = C:\Users\XXXXXX\AppData\Roaming\
Property(C): FavoritesFolder = C:\Users\XXXXXX\Favorites\
Property(C): NetHoodFolder = C:\Users\XXXXXX\AppData\Roaming\Microsoft\Windows\Network Shortcuts\
Property(C): PersonalFolder = C:\Users\XXXXXX\Documents\
Property(C): PrintHoodFolder = C:\Users\XXXXXX\AppData\Roaming\Microsoft\Windows\Printer Shortcuts\
Property(C): RecentFolder = C:\Users\XXXXXX\AppData\Roaming\Microsoft\Windows\Recent\
Property(C): SendToFolder = C:\Users\XXXXXX\AppData\Roaming\Microsoft\Windows\SendTo\
Property(C): TemplateFolder = C:\ProgramData\Microsoft\Windows\Templates\
Property(C): CommonAppDataFolder = C:\ProgramData\
Property(C): LocalAppDataFolder = C:\Users\XXXXXX\AppData\Local\
Property(C): MyPicturesFolder = C:\Users\XXXXXX\Pictures\
Property(C): AdminToolsFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools\
Property(C): StartupFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\
Property(C): ProgramMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\
Property(C): StartMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\
Property(C): DesktopFolder = C:\Users\Public\Desktop\
Property(C): FontsFolder = C:\WINDOWS\Fonts\
Property(C): GPTSupport = 1
Property(C): OLEAdvtSupport = 1
Property(C): ShellAdvtSupport = 1
Property(C): MsiAMD64 = 6
Property(C): Msix64 = 6
Property(C): Intel = 6
Property(C): PhysicalMemory = 1024
Property(C): VirtualMemory = 767
Property(C): AdminUser = 1
Property(C): MsiTrueAdminUser = 1
Property(C): LogonUser = XXXXXX
Property(C): UserSID = S-1-5-21-374392975-944945892-3096872932-1012
Property(C): UserLanguageID = 2057
Property(C): ComputerName = VMWIN72
Property(C): SystemLanguageID = 2057
Property(C): ScreenX = 1920
Property(C): ScreenY = 1080
Property(C): CaptionHeight = 19
Property(C): BorderTop = 1
Property(C): BorderSide = 1
Property(C): TextHeight = 16
Property(C): TextInternalLeading = 3
Property(C): ColorBits = 32
Property(C): TTCSupport = 1
Property(C): Time = 05:04:04
Property(C): Date = 22/12/2014
Property(C): MsiNetAssemblySupport = 4.0.30319.18408
Property(C): MsiWin32AssemblySupport = 6.1.7601.17514
Property(C): RedirectedDllSupport = 2
Property(C): MsiRunningElevated = 1
Property(C): Privileged = 1
Property(C): USERNAME = XXXXXXXXXXX
Property(C): COMPANYNAME = XXXXXXXXXX
Property(C): DATABASE = C:\temp\Notepad++.msi
Property(C): OriginalDatabase = C:\temp\Notepad++.msi
Property(C): SOURCEDIR = C:\temp\
Property(C): VersionHandler = 5.00
Property(C): EXECUTEACTION = INSTALL
Property(C): ACTION = INSTALL
Property(C): UILevel = 5
=== Logging stopped: 22/12/2014  05:04:04 ===
MSI (c) (4C:78) [05:04:04:536]: Note: 1: 1708
MSI (c) (4C:78) [05:04:04:536]: Product: Notepad++ (VMware ThinApp) -- Installation operation failed.

MSI (c) (4C:78) [05:04:04:543]: Windows Installer installed the product. Product Name: Notepad++ (VMware ThinApp). Product Version: 1.0. Product Language: 1033. Manufacturer: ECS. Installation success or error status: 1603.

MSI (c) (4C:78) [05:04:04:545]: Grabbed execution mutex.
MSI (c) (4C:78) [05:04:04:545]: Cleaning up uninstalled install packages, if any exist
MSI (c) (4C:78) [05:04:04:579]: MainEngineThread is returning 1603
=== Verbose logging stopped: 22/12/2014  05:04:04 ===


Can someone please guide me what am i missing in this entire procedure.


1 Comment   [ + ] Show Comment

Comments

  • good old 1603, that covers a lot. Can you also look in eventviewer to see if that gives any info?
Please log in to comment

There are no answers at this time

Answers

Answer this question or Comment on this question for clarity