sajan
Posts: 3
Joined: Thu Jan 03, 2019 1:37 pm

Advanced Installer - 1310 - Installation Issue

Thu Jan 10, 2019 2:51 pm

Hi.,

Facing below error message while doing installation from command.

,,,,,CheckCRC=0,Version=65535.65535.65535.65535,Language=0,InstallMode=58982400,,,,,,,)
MSI (s) (E0:F0) [19:00:31:661]: File: C:\Users\TestMember\AppData\Local\TestFolder\Application\natives_blob.bin; Overwrite; Won't patch; New file versioned - existing file unversioned
MSI (s) (E0:F0) [19:00:31:661]: Source for file 'natives_blob.bin' is compressed
MSI (s) (E0:F0) [19:00:31:662]: Re-applying security from existing file.
MSI (s) (E0:F0) [19:02:06:709]: Verifying accessibility of file: natives_blob.bin
MSI (s) (E0:F0) [19:02:06:710]: Verifying accessibility of file: natives_blob.bin
MSI (s) (E0:F0) [19:02:06:710]: Using source file security for destination.
MSI (s) (E0:F0) [19:02:06:712]: Note: 1: 2329 2: 32 3: C:\Users\TestMember\AppData\Local\TestFolder\Application\natives_blob.bin
MSI (s) (E0:F0) [19:02:06:712]: Verifying accessibility of file: natives_blob.bin
Info 1603. The file C:\Users\TestMember\AppData\Local\TestFolder\Application\natives_blob.bin is being held in use. Close that application and retry.
MSI (s) (E0:F0) [19:02:06:717]: Note: 1: 2318 2:
MSI (s) (E0:F0) [19:02:06:719]: Note: 1: 2318 2:
Info 1903. Scheduling reboot operation: Deleting file C:\Users\TestMember\AppData\Local\TestFolder\Application\natives_blob.bin. Must reboot to complete operation.
MSI (s) (E0:F0) [19:02:06:723]: Note: 1: 1310 2: 0 3: C:\Users\TestMember\AppData\Local\TestFolder\Application\TBM4562.tmp
Info 1902. Scheduling reboot operation: Renaming file C:\Users\TestMember\AppData\Local\TestFolder\Application\TBM4562.tmp to C:\Users\TestMember\AppData\Local\TestFolder\Application\natives_blob.bin. Must reboot to complete operation.
MSI (s) (E0:F0) [19:02:06:724]: Product: TestPDT® -- Error 1310. Error writing to file: C:\Users\TestMember\AppData\Local\TestFolder\Application\TBM4562.tmp. System error 0. Verify that you have access to that directory.

Facing this in "Per-user" Scenario and started facing this recently.

Any help on this would be of great help in resolving the same.
Attachments
autoupdate-Verbose.txt
(861.19KiB)Downloaded 272 times

Dan
Posts: 4513
Joined: Wed Apr 24, 2013 3:51 pm

Re: Advanced Installer - 1310 - Installation Issue

Fri Jan 11, 2019 11:04 am

Hello and welcome to Advanced Installer forums,

As it states from the log file, the files are in use:

Code: Select all

MSI (s) (E0:F0) [19:02:06:712]: Verifying accessibility of file: natives_blob.bin
Info 1603. The file C:\Users\TestMember\AppData\Local\TestFolder\Application\natives_blob.bin is being held in use. Close that application and retry.
A dialog ("FilesInUse" on XP and "MsiRMFilesInUse" on Vista) is shown automatically by Windows Installer during the InstallValidate standard action when the installer checks if any file is in use and if so, it displays that dialog.

This dialog can be avoided by running a Detect and Stop custom actions before the install/uninstall process which stops the processes which use the files.
Please take a look on the Detect or stop a process How-to article which may be useful to you.

Also, you can take a look on our How is Files in Use determined - can it be overridden? forum thread which debates a similar subject.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

sajan
Posts: 3
Joined: Thu Jan 03, 2019 1:37 pm

Re: Advanced Installer - 1310 - Installation Issue

Fri Jan 11, 2019 1:36 pm

Thanks a lot Dan...
I have one clarification. The same MSI., when we install using UI - it works fine and we are not getting the error prompt to close existing running applications. Is there any relevance around the same. ?

Dan
Posts: 4513
Joined: Wed Apr 24, 2013 3:51 pm

Re: Advanced Installer - 1310 - Installation Issue

Fri Jan 11, 2019 3:48 pm

Hello,

Maybe there is a custom action that checks if the files are in use and close/stop the process/service. Can you please check if this is your case too?

Otherwise, I don't have anything in mind that can trigger this behavior.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

sajan
Posts: 3
Joined: Thu Jan 03, 2019 1:37 pm

Re: Advanced Installer - 1310 - Installation Issue

Fri Jan 25, 2019 10:47 am

Hi Dan,

One another clarification around silent installation of MSI.

When we install / uninstall from UI we are getting the prompt to close if the application is already running.
This is not happening during silent installation. How we can mention., to close the application or restart the application post the install to bypass "File Already In Use" error for silent installations.

Best Regards,
Saranya. J

Daniel
Posts: 8237
Joined: Mon Apr 02, 2012 1:11 pm
Contact:  Website

Re: Advanced Installer - 1310 - Installation Issue

Wed Feb 06, 2019 10:38 am

Hello Saranya,

The only way you could do that will be through your own custom action implementation. You can schedule a custom action during the "Install Execution Stage" (only this stage is executed during a silent installation).

However please keep in mind this implementation is not recommended at all. Spawning UI within a silent installation will defeat the purpose of a silent installation.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”