Install fails silently and LOG ends at AI_ResolveKnownFolder - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Aubrey
Posts: 2
Joined: Wed Feb 16, 2011 9:24 am
Location: Netherlands

Install fails silently and LOG ends at AI_ResolveKnownFolder

Hi there,

A few (10 - 20) of my customers (out of thousands) are all having exactly the same problem with their installations. They start the setup, see nothing apart from a few dialogs that quickly flashes by, and then nothing. After waiting for tens of minutes (whilst still seeing NOTHING), and on closer investigation (inside Add / Remove Programs) it is clear that the suite was not installed successfully. Also the MSI Cleanup tool of Microsoft confirms this. The LOG that gets generated (in ALL cases) is very short, and (in ALL CASES) stops at the line following "Doing action: AI_ResolveKnownFolders".

Please assist in solving this issue ASAP!

I hereby attached the project file.

Thank you in advance.

Kind regards
Aubrey

P.S. Here is an example of one of the LOG files' contents:

Code: Select all

=== Verbose logging started: 21-2-2011  16:18:20  Build type: SHIP UNICODE 5.00.7600.00  Calling process: C:\Windows\system32\msiexec.exe ===
MSI (c) (2C:B8) [16:18:20:032]: Font created.  Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg

MSI (c) (2C:B8) [16:18:20:032]: Font created.  Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg

MSI (c) (2C:B8) [16:18:20:047]: Resetting cached policy values
MSI (c) (2C:B8) [16:18:20:047]: Machine policy value 'Debug' is 0
MSI (c) (2C:B8) [16:18:20:047]: ******* RunEngine:
           ******* Product: C:\Users\RuudBun\AppData\Roaming\BankingTools\Cashflow 4\install\Setup-Cashflow.msi
           ******* Action: 
           ******* CommandLine: **********
MSI (c) (2C:B8) [16:18:20:047]: Machine policy value 'DisableUserInstalls' is 0
MSI (c) (2C:B8) [16:18:20:063]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer 3: 2 
MSI (c) (2C:B8) [16:18:20:063]: SOFTWARE RESTRICTION POLICY: Verifying package --> 'C:\Users\RuudBun\AppData\Roaming\BankingTools\Cashflow 4\install\Setup-Cashflow.msi' against software restriction policy
MSI (c) (2C:B8) [16:18:20:078]: SOFTWARE RESTRICTION POLICY: C:\Users\RuudBun\AppData\Roaming\BankingTools\Cashflow 4\install\Setup-Cashflow.msi has a digital signature
MSI (c) (2C:B8) [16:18:20:141]: SOFTWARE RESTRICTION POLICY: C:\Users\RuudBun\AppData\Roaming\BankingTools\Cashflow 4\install\Setup-Cashflow.msi is permitted to run at the 'unrestricted' authorization level.
MSI (c) (2C:B8) [16:18:20:203]: Cloaking enabled.
MSI (c) (2C:B8) [16:18:20:203]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (2C:B8) [16:18:20:203]: End dialog not enabled
MSI (c) (2C:B8) [16:18:20:203]: Original package ==> C:\Users\RuudBun\AppData\Roaming\BankingTools\Cashflow 4\install\Setup-Cashflow.msi
MSI (c) (2C:B8) [16:18:20:203]: Package we're running from ==> C:\Users\RuudBun\AppData\Roaming\BankingTools\Cashflow 4\install\Setup-Cashflow.msi
MSI (c) (2C:B8) [16:18:20:203]: APPCOMPAT: Compatibility mode property overrides found.
MSI (c) (2C:B8) [16:18:20:219]: APPCOMPAT: looking for appcompat database entry with ProductCode '{516F203B-619A-4DDB-A631-C6960FFA6855}'.
MSI (c) (2C:B8) [16:18:20:219]: APPCOMPAT: no matching ProductCode found in database.
MSI (c) (2C:B8) [16:18:20:266]: MSCOREE not loaded loading copy from system32
MSI (c) (2C:B8) [16:18:20:297]: Machine policy value 'TransformsSecure' is 0
MSI (c) (2C:B8) [16:18:20:297]: User policy value 'TransformsAtSource' is 0
MSI (c) (2C:B8) [16:18:20:297]: Note: 1: 2205 2:  3: MsiFileHash 
MSI (c) (2C:B8) [16:18:20:297]: Machine policy value 'DisablePatch' is 0
MSI (c) (2C:B8) [16:18:20:297]: Machine policy value 'AllowLockdownPatch' is 0
MSI (c) (2C:B8) [16:18:20:297]: Machine policy value 'DisableLUAPatching' is 0
MSI (c) (2C:B8) [16:18:20:297]: Machine policy value 'DisableFlyWeightPatching' is 0
MSI (c) (2C:B8) [16:18:20:297]: Enabling baseline caching for this transaction since all active patches are MSI 3.0 style MSPs or at least one MSI 3.0 minor update patch is active
MSI (c) (2C:B8) [16:18:20:312]: APPCOMPAT: looking for appcompat database entry with ProductCode '{516F203B-619A-4DDB-A631-C6960FFA6855}'.
MSI (c) (2C:B8) [16:18:20:312]: APPCOMPAT: no matching ProductCode found in database.
MSI (c) (2C:B8) [16:18:20:312]: Transforms are not secure.
MSI (c) (2C:B8) [16:18:20:312]: PROPERTY CHANGE: Adding MsiLogFileLocation property. Its value is 'C:\Users\RuudBun\Desktop\BT-RuudBun-LOG.txt'.
MSI (c) (2C:B8) [16:18:20:312]: Command Line: AI_SETUPEXEPATH=C:\Users\RuudBun\Desktop\CF4SPSU.exe SETUPEXEDIR=C:\Users\RuudBun\Desktop\ CURRENTDIRECTORY=C:\Users\RuudBun\Desktop CLIENTUILEVEL=0 CLIENTPROCESSID=5676 
MSI (c) (2C:B8) [16:18:20:312]: PROPERTY CHANGE: Adding PackageCode property. Its value is '{65AC080C-28BB-4C51-9EA3-5E903144A0C8}'.
MSI (c) (2C:B8) [16:18:20:312]: Product Code passed to Engine.Initialize:           ''
MSI (c) (2C:B8) [16:18:20:312]: Product Code from property table before transforms: '{516F203B-619A-4DDB-A631-C6960FFA6855}'
MSI (c) (2C:B8) [16:18:20:312]: Product Code from property table after transforms:  '{516F203B-619A-4DDB-A631-C6960FFA6855}'
MSI (c) (2C:B8) [16:18:20:312]: Product not registered: beginning first-time install
MSI (c) (2C:B8) [16:18:20:312]: PROPERTY CHANGE: Adding ProductState property. Its value is '-1'.
MSI (c) (2C:B8) [16:18:20:312]: Entering CMsiConfigurationManager::SetLastUsedSource.
MSI (c) (2C:B8) [16:18:20:312]: User policy value 'SearchOrder' is 'nmu'
MSI (c) (2C:B8) [16:18:20:312]: Adding new sources is allowed.
MSI (c) (2C:B8) [16:18:20:312]: PROPERTY CHANGE: Adding PackagecodeChanging property. Its value is '1'.
MSI (c) (2C:B8) [16:18:20:312]: Package name extracted from package path: 'Setup-Cashflow.msi'
MSI (c) (2C:B8) [16:18:20:312]: Package to be registered: 'Setup-Cashflow.msi'
MSI (c) (2C:B8) [16:18:20:312]: Note: 1: 2262 2: AdminProperties 3: -2147287038 
MSI (c) (2C:B8) [16:18:20:312]: Machine policy value 'DisableMsi' is 0
MSI (c) (2C:B8) [16:18:20:312]: Machine policy value 'AlwaysInstallElevated' is 0
MSI (c) (2C:B8) [16:18:20:312]: User policy value 'AlwaysInstallElevated' is 0
MSI (c) (2C:B8) [16:18:20:312]: Product installation will be elevated because user is admin and product is being installed per-machine.
MSI (c) (2C:B8) [16:18:20:312]: Running product '{516F203B-619A-4DDB-A631-C6960FFA6855}' with elevated privileges: Product is assigned.
MSI (c) (2C:B8) [16:18:20:312]: PROPERTY CHANGE: Adding AI_SETUPEXEPATH property. Its value is 'C:\Users\RuudBun\Desktop\CF4SPSU.exe'.
MSI (c) (2C:B8) [16:18:20:312]: PROPERTY CHANGE: Adding SETUPEXEDIR property. Its value is 'C:\Users\RuudBun\Desktop\'.
MSI (c) (2C:B8) [16:18:20:312]: PROPERTY CHANGE: Adding CURRENTDIRECTORY property. Its value is 'C:\Users\RuudBun\Desktop'.
MSI (c) (2C:B8) [16:18:20:312]: PROPERTY CHANGE: Adding CLIENTUILEVEL property. Its value is '0'.
MSI (c) (2C:B8) [16:18:20:312]: PROPERTY CHANGE: Adding CLIENTPROCESSID property. Its value is '5676'.
MSI (c) (2C:B8) [16:18:20:312]: TRANSFORMS property is now: 
MSI (c) (2C:B8) [16:18:20:312]: PROPERTY CHANGE: Adding VersionDatabase property. Its value is '200'.
MSI (c) (2C:B8) [16:18:20:312]: SHELL32::SHGetFolderPath returned: C:\Users\RuudBun\AppData\Roaming
MSI (c) (2C:B8) [16:18:20:312]: SHELL32::SHGetFolderPath returned: C:\Users\RuudBun\Favorites
MSI (c) (2C:B8) [16:18:20:312]: SHELL32::SHGetFolderPath returned: C:\Users\RuudBun\AppData\Roaming\Microsoft\Windows\Network Shortcuts
MSI (c) (2C:B8) [16:18:20:312]: SHELL32::SHGetFolderPath returned: C:\Users\RuudBun\Music\Documents
MSI (c) (2C:B8) [16:18:20:312]: SHELL32::SHGetFolderPath returned: C:\Users\RuudBun\AppData\Roaming\Microsoft\Windows\Printer Shortcuts
MSI (c) (2C:B8) [16:18:20:312]: SHELL32::SHGetFolderPath returned: C:\Users\RuudBun\AppData\Roaming\Microsoft\Windows\Recent
MSI (c) (2C:B8) [16:18:20:312]: SHELL32::SHGetFolderPath returned: C:\Users\RuudBun\AppData\Roaming\Microsoft\Windows\SendTo
MSI (c) (2C:B8) [16:18:20:312]: SHELL32::SHGetFolderPath returned: C:\Users\RuudBun\AppData\Roaming\Microsoft\Windows\Templates
MSI (c) (2C:B8) [16:18:20:312]: SHELL32::SHGetFolderPath returned: C:\ProgramData
MSI (c) (2C:B8) [16:18:20:312]: SHELL32::SHGetFolderPath returned: C:\Users\RuudBun\AppData\Local
MSI (c) (2C:B8) [16:18:20:312]: SHELL32::SHGetFolderPath returned: C:\Users\RuudBun\Pictures
MSI (c) (2C:B8) [16:18:20:312]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools
MSI (c) (2C:B8) [16:18:20:312]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
MSI (c) (2C:B8) [16:18:20:312]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs
MSI (c) (2C:B8) [16:18:20:312]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu
MSI (c) (2C:B8) [16:18:20:312]: SHELL32::SHGetFolderPath returned: C:\Users\Public\Desktop
MSI (c) (2C:B8) [16:18:20:328]: SHELL32::SHGetFolderPath returned: C:\Users\RuudBun\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Administrative Tools
MSI (c) (2C:B8) [16:18:20:328]: SHELL32::SHGetFolderPath returned: C:\Users\RuudBun\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
MSI (c) (2C:B8) [16:18:20:328]: SHELL32::SHGetFolderPath returned: C:\Users\RuudBun\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
MSI (c) (2C:B8) [16:18:20:328]: SHELL32::SHGetFolderPath returned: C:\Users\RuudBun\AppData\Roaming\Microsoft\Windows\Start Menu
MSI (c) (2C:B8) [16:18:20:328]: SHELL32::SHGetFolderPath returned: C:\Users\RuudBun\Desktop
MSI (c) (2C:B8) [16:18:20:328]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Templates
MSI (c) (2C:B8) [16:18:20:328]: SHELL32::SHGetFolderPath returned: C:\Windows\Fonts
MSI (c) (2C:B8) [16:18:20:328]: Note: 1: 2898 2: MS Sans Serif 3: MS Sans Serif 4: 0 5: 16 
MSI (c) (2C:B8) [16:18:20:328]: MSI_LUA: Setting AdminUser property to 1 because this is the client or the user has already permitted elevation
MSI (c) (2C:B8) [16:18:20:328]: MSI_LUA: Setting MsiRunningElevated property to 1 because the install is already running elevated.
MSI (c) (2C:B8) [16:18:20:328]: PROPERTY CHANGE: Adding MsiRunningElevated property. Its value is '1'.
MSI (c) (2C:B8) [16:18:20:328]: PROPERTY CHANGE: Adding Privileged property. Its value is '1'.
MSI (c) (2C:B8) [16:18:20:328]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\MS Setup (ACME)\User Info 3: 2 
MSI (c) (2C:B8) [16:18:20:328]: PROPERTY CHANGE: Adding USERNAME property. Its value is 'RuudBun'.
MSI (c) (2C:B8) [16:18:20:328]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\MS Setup (ACME)\User Info 3: 2 
MSI (c) (2C:B8) [16:18:20:328]: PROPERTY CHANGE: Adding DATABASE property. Its value is 'C:\Users\RuudBun\AppData\Roaming\BankingTools\Cashflow 4\install\Setup-Cashflow.msi'.
MSI (c) (2C:B8) [16:18:20:328]: PROPERTY CHANGE: Adding OriginalDatabase property. Its value is 'C:\Users\RuudBun\AppData\Roaming\BankingTools\Cashflow 4\install\Setup-Cashflow.msi'.
MSI (c) (2C:B8) [16:18:20:328]: Machine policy value 'MsiDisableEmbeddedUI' is 0
MSI (c) (2C:B8) [16:18:20:328]: PROPERTY CHANGE: Adding SourceDir property. Its value is 'C:\Users\RuudBun\AppData\Roaming\BankingTools\Cashflow 4\install\'.
MSI (c) (2C:B8) [16:18:20:328]: PROPERTY CHANGE: Adding SOURCEDIR property. Its value is 'C:\Users\RuudBun\AppData\Roaming\BankingTools\Cashflow 4\install\'.
MSI (c) (2C:B8) [16:18:20:328]: PROPERTY CHANGE: Adding VersionHandler property. Its value is '5.00'.
=== Logging gestart: 21-2-2011 16:18:20 ===
MSI (c) (2C:B8) [16:18:20:344]: Note: 1: 2262 2: PatchPackage 3: -2147287038 
MSI (c) (2C:B8) [16:18:20:344]: Machine policy value 'DisableRollback' is 0
MSI (c) (2C:B8) [16:18:20:344]: User policy value 'DisableRollback' is 0
MSI (c) (2C:B8) [16:18:20:344]: PROPERTY CHANGE: Adding UILevel property. Its value is '5'.
MSI (c) (2C:B8) [16:18:20:344]: PROPERTY CHANGE: Adding ACTION property. Its value is 'INSTALL'.
MSI (c) (2C:B8) [16:18:20:344]: Doing action: INSTALL
Actie 16:18:20: INSTALL. 
Actie gestart 16:18:20: INSTALL.
MSI (c) (2C:B8) [16:18:20:344]: UI Sequence table 'InstallUISequence' is present and populated.
MSI (c) (2C:B8) [16:18:20:344]: Running UISequence
MSI (c) (2C:B8) [16:18:20:344]: PROPERTY CHANGE: Adding EXECUTEACTION property. Its value is 'INSTALL'.
MSI (c) (2C:B8) [16:18:20:344]: Doing action: AI_SET_INSTALL
Actie 16:18:20: AI_SET_INSTALL. 
Actie gestart 16:18:20: AI_SET_INSTALL.
MSI (c) (2C:B8) [16:18:20:344]: PROPERTY CHANGE: Adding AI_INSTALL property. Its value is '1'.
Actie gestopt 16:18:20: AI_SET_INSTALL. Return value 1.
MSI (c) (2C:B8) [16:18:20:344]: Skipping action: AI_SET_MAINT (condition is false)
MSI (c) (2C:B8) [16:18:20:344]: Skipping action: AI_SET_RESUME (condition is false)
MSI (c) (2C:B8) [16:18:20:344]: Skipping action: AI_SET_PATCH (condition is false)
MSI (c) (2C:B8) [16:18:20:344]: Skipping action: AI_CORRECT_INSTALL (condition is false)
MSI (c) (2C:B8) [16:18:20:344]: Doing action: AI_ResolveKnownFolders
Actie 16:18:20: AI_ResolveKnownFolders. 

Attachments
Cashflow.aip
AA 7.7 project file
(59.71 KiB) Downloaded 352 times
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Install fails silently and LOG ends at AI_ResolveKnownFolder

Hi Aubrey and welcome to the Advanced Installer Forums,

This is not the normal behavior of an install process. The log should end with "Verbose logging ended". The process seems to end unexpectedly.

Can you please specify the OSs that manifest this behavior as well as their architecture?
In order for us to reproduce and investigate this issue we would also need you to send us the built package to support at advancedinstaller dot com as well.

In the meantime you can ask your clients to try to upgrade or reinstall their Windows Installer copy with the 4.5 version and report if the problem persists.
Here is the Microsoft download link for Windows Installer 4.5

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Aubrey
Posts: 2
Joined: Wed Feb 16, 2011 9:24 am
Location: Netherlands

Re: Install fails silently and LOG ends at AI_ResolveKnownFolder

Hi,

Thank you for your response.

We will indeed ask our clients to upgrade to MSI Installer 4.5, in the mean time.

We have encountered this issue on numerous OS/architecture combinations, for example Win XP on Intel 32 bit CPU, Win 7 (32 bit) on Intel CPU, Win 7 (64 bit) on AMD CPU, and so forth. Definitely no pattern there, as far as we could ascertain. But, we will in the mean time be sure to keep monitoring these statistics.

As per your request, I hereby submit the URL where you can download the built package, so that you can further investigate this pressing issue:
http://shop1.invers.nl/downloads/v4/CF4-Generic.exe

We will very much appreciate your urgent attention to this matter, and a response a.s.a.p. Thank you in advance!

Kind regards,
Aubrey
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Install fails silently and LOG ends at AI_ResolveKnownFolder

Hi Aubrey,

I have discussed this issue with the test team and run tests on several Windows XP ( x32 and x64 ), Windows 7 ( x32 and x64 ) and on Windows Vista ( x32 ). We even tested the setup on clean machines.
Unfortunately, we cannot reproduce the behavior and if we don't know the circumstances that caused it there is nothing we can do.

My initial assumption that the Windows Installer process might be damaged on the target machines, would be confirmed by your clients if they manage to run the package after (re)installing Windows Installer 4.5.

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
tinus
Posts: 1
Joined: Thu Apr 14, 2011 8:57 am

Re: Install fails silently and LOG ends at AI_ResolveKnownFolder

Hello Mihai,

I am a colleague of Aubrey and want you to know that unfortunately we still have a few users of our product who can not install the program. They followed your advise to install Windows Installer 4.5, but this did not solve the problem. Do you have an alternative solution for this problem ?

regards,
Martin
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Install fails silently and LOG ends at AI_ResolveKnownFolder

Hi Martin,

I have forwarded the issue to our development team and they will simulate some situations and investigate to hopefully find the reason behind this behavior.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Install fails silently and LOG ends at AI_ResolveKnownFolder

Hello,

To properly investigate this, our development team has built the attached custom .DLL for testing purposes:
AICustAct.zip
(129.27 KiB) Downloaded 225 times
To apply it, please create a backup of the existing "AICustAct.dll" and replace the existing with the attached one in the Advanced Installer installation location. An example location for this .DLL could be:

Code: Select all

C:\Program Files (x86)\Caphyon\Advanced Installer 8.0.2\custact\x86\AICustAct.dll
After performing the above replacement, please rebuild your project and give the installer to one of your customers with the machine manifesting the problem. The new installer will create a log file in the target machine's temporary folder or on the D drive as an alternative.

Please send us that log so we can further investigate the issue.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”