Patch Issue

Got a problem you cannot solve? Try here.

Patch Issue

Postby Harvinder » Fri Mar 30, 2012 3:09 am

I am using single file Deployment with "Cache Source File" option on. The setup is working fine. But when i try to create and run the patch on same setup, I am getting following error:-

The file .. cannot be installed because the file cannot be bound in the cabinet file ..
This could indicate a network error, an error reading from the CD-ROM, or a problem with this package.


Please suggest how to resolve this error.
Harvinder
 
Posts: 15
Joined: Fri Mar 30, 2012 2:50 am

Re: Patch Issue

Postby FrancescoT » Fri Mar 30, 2012 7:29 am

Dear User,

for what you have reported, there is file that it not available during your proccess.

Can you try to be more clear about what your project patch does?

Regards
Francesco Toscano
InstallAware Software Support

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
FrancescoT
Site Admin
 
Posts: 1826
Joined: Sun Aug 22, 2010 4:28 am

Re: Patch Issue

Postby Harvinder » Sun Apr 01, 2012 11:00 pm

I am having a webapplication. When I run the initial base package, it runs well. then I made some modifications in my application, precompile the application and create patch(reference set to to base package) using above said options. While running the patch on the target machine which is already having base package installed. It gives me the above said error. I tried by creating patch 2-3 times and installed on different machine. but every time i am getting the same error. This is very high priority issue for our organization. Please help me in resolving it ASAP.

"I am using single file Deployment with "Cache Source File" option on. The setup is working fine. But when i try to create and run the patch on same setup, I am getting following error:-

The file .. cannot be installed because the file cannot be bound in the cabinet file ..
This could indicate a network error, an error reading from the CD-ROM, or a problem with this package.

Please suggest how to resolve this error."
Harvinder
 
Posts: 15
Joined: Fri Mar 30, 2012 2:50 am

Re: Patch Issue

Postby FrancescoT » Mon Apr 02, 2012 8:41 am

Dear User,

Can you check if you have selected the option that forces setup resources to be cached and not removed after setup completation?
To do this, under DESIGN VIEW, BUILD SETTINGS check the control:

Always Cache Setup Sources (enables easy patching)

This three-state check-box lets you control setup source caching. When the box is filled, the default source caching option (as described above for each build type) is in effect. When cleared, setup sources are never cached. When checked, setup sources are always cached.

So in your case, you have to check that the control it is checked for your "initial base package" project . Press F1 in IDE for more info.

Let me know.

Regards
Francesco Toscano
InstallAware Software Support

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
FrancescoT
Site Admin
 
Posts: 1826
Joined: Sun Aug 22, 2010 4:28 am

Re: Patch Issue

Postby Harvinder » Tue Apr 03, 2012 3:10 am

Hi Francesco Toscano,

I am using same settings to Cache Files. And i am able to explore cache files in "C:\ProgramData\{2EDD7BA7-2E74-4C9A-AD7C-06C07C60A147}" folder in Windows Vista.

Another case, if i try to run the patch on set up that was created without Cache of files then it prompt to browse for .mia files.

But in my case caching is enabled and patch did not prompt for browse the location of .mia files (means it is working as expected). I am able to see the progress that some files are copied in installed folder and the error occurs in file copy process.
Harvinder
 
Posts: 15
Joined: Fri Mar 30, 2012 2:50 am

Re: Patch Issue

Postby FrancescoT » Tue Apr 03, 2012 8:30 am

Dear User,

Can you provide me with a very simple project that replicate your issue?

This because I can easly create a path on my test machine and it works. By the informations that you gave me, it should work your patch too ... but of course there must be something that I can't see from here.

Let me know.

Regards
Francesco Toscano
InstallAware Software Support

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
FrancescoT
Site Admin
 
Posts: 1826
Joined: Sun Aug 22, 2010 4:28 am

Re: Patch Issue

Postby Harvinder » Thu Apr 05, 2012 1:44 am

Hi Francesco Toscano,

Sample project for patch as per your documents is working fine.

I am using lot of plugins(.net framework, Sqlexpress, IIS etc.) in my project, there might be some issue in configuration.

Do you have any Checklist/Guide/Tool to debug the issue?

Thanks,
Harvinder
Harvinder
 
Posts: 15
Joined: Fri Mar 30, 2012 2:50 am

Re: Patch Issue

Postby FrancescoT » Thu Apr 05, 2012 9:18 am

Dear Harvinder,

the only one it is that you already know as; Product Name, Product Version, Product Code, Upgrade Code and file name output, must be the identical to those used for the project or projects that you are patching.

Have you tried to debug your patch in order to exactly check where the issue happen?

have you changed something in your script logic?

Have you carefully verified that the cached source files are correct?

If you try to modify your install from ARP works correctly?

Let me know.

Regards
Francesco Toscano
InstallAware Software Support

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
FrancescoT
Site Admin
 
Posts: 1826
Joined: Sun Aug 22, 2010 4:28 am

Re: Patch Issue

Postby Harvinder » Fri Apr 06, 2012 9:28 am

Hi Francesco Toscano,

I tried to debug the patch using patch.exe /l=C:\log.txt

The last lines of log.txt are:-


EBUG: Error 2350: FDI Server Error
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2350. The arguments are: , ,
MSI (s) (50:38) [21:05:32:468]: Executing op: FileCopy(SourceName=Webcon~1|Web.config,SourceCabKey=Webcon7e17cWeb.config24P100,DestName=Web.config,Attributes=4608,FileSize=161,PerTick=32768,,VerifyMedia=1,,,,,CheckCRC=0,,,InstallMode=58982400,,,,,,,)
MSI (s) (50:38) [21:05:32:477]: File: C:\Program Files\Myproj\Myproj.Web\BatsrePlan\Web.config; Overwrite; Won't patch; Existing file is unversioned and unmodified - no source file hash provided to compare
MSI (s) (50:38) [21:05:32:485]: Source for file 'Webcon7e17cWeb.config24P100' is compressed
MSI (s) (50:38) [21:05:32:502]: Re-applying security from existing file.
MSI (s) (50:38) [21:05:32:511]: Verifying accessibility of file: Web.config
MSI (s) (50:38) [21:05:32:546]: Note: 1: 2318 2: C:\Program Files\Myproj\Myproj.Web\BatsrePlan\Web.config
MSI (s) (50:38) [21:05:32:569]: Note: 1: 1334 2: Webcon7e17cWeb.config24P100 3: PCW_CAB_EA417A52
MSI (s) (50:38) [21:05:32:585]: Note: 1: 2205 2: 3: Error
MSI (s) (50:38) [21:05:32:601]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1334
Info 1334. The file 'Webcon7e17cWeb.config24P100' cannot be installed because the file cannot be found in cabinet file 'PCW_CAB_EA417A52'. This could indicate a network error, an error reading from the CD-ROM, or a problem with this package.
MSI (s) (50:38) [21:05:32:618]: Note: 1: 2350
MSI (s) (50:38) [21:05:32:626]: Note: 1: 2205 2: 3: Error
MSI (s) (50:38) [21:05:32:634]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2350
DEBUG: Error 2350: FDI Server Error
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2350. The arguments are: , ,
MSI (s) (50:38) [21:05:32:659]: Note: 1: 2350
MSI (s) (50:38) [21:05:32:668]: Note: 1: 2205 2: 3: Error
MSI (s) (50:38) [21:05:32:676]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2350
DEBUG: Error 2350: FDI Server Error
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2350. The arguments are: , ,
MSI (s) (50:38) [21:05:32:701]: Note: 1: 2350
MSI (s) (50:38) [21:05:32:718]: Note: 1: 2205 2: 3: Error
MSI (s) (50:38) [21:05:32:726]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2350
DEBUG: Error 2350: FDI Server Error
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2350. The arguments are: , ,
MSI (s) (50:38) [21:05:32:792]: Note: 1: 2350
MSI (s) (50:38) [21:05:32:801]: Note: 1: 2205 2: 3: Error
MSI (s) (50:38) [21:05:32:809]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2350
DEBUG: Error 2350: FDI Server Error
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2350. The arguments are: , ,
MSI (s) (50:38) [21:05:32:834]: Note: 1: 2350
MSI (s) (50:38) [21:05:32:842]: Note: 1: 2205 2: 3: Error
MSI (s) (50:38) [21:05:32:851]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2350
DEBUG: Error 2350: FDI Server Error
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2350. The arguments are: , ,
MSI (s) (50:38) [21:05:32:884]: Note: 1: 2350
MSI (s) (50:38) [21:05:32:909]: Note: 1: 2205 2: 3: Error
MSI (s) (50:38) [21:05:32:925]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2350
DEBUG: Error 2350: FDI Server Error
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2350. The arguments are: , ,
MSI (s) (50:38) [21:05:32:975]: Executing op: SetTargetFolder(Folder=C:\Program Files\Myproj\Myproj.Web\bin\ar\)
MSI (s) (50:38) [21:05:32:984]: Executing op: SetSourceFolder(Folder=1\OFFLIN~1\7FE272~1\8302FB~1\|OFFLINE\7FE2725F\8302FB8\)
MSI (s) (50:38) [21:05:32:992]: Executing op: FileCopy(SourceName=AjaxCo~1|AjaxControlToolkit.resources.dll,SourceCabKey=AjaxCo7e17cAjaxControlTo,DestName=AjaxControlToolkit.resources.dll,Attributes=4608,FileSize=3584,PerTick=32768,,VerifyMedia=1,,,,,CheckCRC=0,Version=3.5.50927.0,,InstallMode=58982400,,,,,,,)
MSI (s) (50:38) [21:05:33:003]: File: C:\Program Files\Myproj\Myproj.Web\bin\ar\AjaxControlToolkit.resources.dll; Overwrite; Won't patch; New file supports language(s) the existing file doesn't support
MSI (s) (50:38) [21:05:33:009]: Source for file 'AjaxCo7e17cAjaxControlTo' is compressed
MSI (s) (50:38) [21:05:33:017]: Re-applying security from existing file.
MSI (s) (50:38) [21:05:33:044]: Verifying accessibility of file: AjaxControlToolkit.resources.dll
MSI (s) (50:38) [21:05:33:053]: Note: 1: 2318 2: C:\Program Files\Myproj\Myproj.Web\bin\ar\AjaxControlToolkit.resources.dll
MSI (s) (50:38) [21:05:33:059]: Note: 1: 1334 2: AjaxCo7e17cAjaxControlTo 3: PCW_CAB_EA417A52
MSI (s) (50:38) [21:05:33:083]: Note: 1: 2205 2: 3: Error
MSI (s) (50:38) [21:05:33:091]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1334




Is this helpful for you?

Thanks,
Harvinder
Harvinder
 
Posts: 15
Joined: Fri Mar 30, 2012 2:50 am

Re: Patch Issue

Postby FrancescoT » Tue Apr 10, 2012 10:22 am

Dear User,

For what I see, seems to be an error " 2350: FDI Server Error" related to MSI execution.
Sometimes this happens because of an older MSI engine version on target machine.
Which MSI version are you using with your project, if any?
Which is the MSI version on your target machine?

Have you tried to isolatate the error by adding just one file at time to your patch project?

...... I'm trying to figure out what happens.

Probably you already told me ... happens on a particular OS?

Let me know
Francesco Toscano
InstallAware Software Support

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
FrancescoT
Site Admin
 
Posts: 1826
Joined: Sun Aug 22, 2010 4:28 am

Re: Patch Issue

Postby Harvinder » Wed Apr 11, 2012 4:48 am

Hi Francesco Toscano,

Please let us know how to how to check MSI engine version of project and machine?

I tried to isolatate the error by adding just one file at time and patch runs fine.

If i try with all the files then it gives same error in Windows XP and Windoes Vista. So this is not the issue with particular OS.


Thanks,
Harvinder
Harvinder
 
Posts: 15
Joined: Fri Mar 30, 2012 2:50 am

Re: Patch Issue

Postby Harvinder » Wed Apr 11, 2012 6:43 am

Hi Francesco Toscano,

I have created two versions of patches:-
1) Patch 1 on base build by adding single file as suggested.
2) Patch 2 on base build by adding all the files (without the reference of Patch 1).

when i run patch 2 on base build it gives same error as mentioned in my first post.

After that i tried Patch 1 and it works fine( as it contains single file). then on the top of Patch 1 i executed the Patch 2 and it works fine.

This is the strange behavior why Patch 2 (Containing all the files) does not work directly?


Thanks,
Harvinder
Harvinder
 
Posts: 15
Joined: Fri Mar 30, 2012 2:50 am

Re: Patch Issue

Postby FrancescoT » Wed Apr 11, 2012 10:01 am

Dear Harvinder,

I understand perfectly well that what I am about to propose to you requires a bit of time.

Can you try to continue the test you done for patch 1, adding the other files .... but one at a time.
Doing this probably you can identify if the problem is caused by a particular file.

Then,
After that i tried Patch 1 and it works fine( as it contains single file). then on the top of Patch 1 i executed the Patch 2 and it works fine.

Could you try also to add reference to Patch 1 in your Patch 2 project and then, install Patch2 over Patch1 installaton?

Regards
Francesco Toscano
InstallAware Software Support

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
FrancescoT
Site Admin
 
Posts: 1826
Joined: Sun Aug 22, 2010 4:28 am

Re: Patch Issue

Postby Harvinder » Thu Apr 12, 2012 5:19 am

HI Francesco Toscano,

From my yesterday testing (firstly run patch 1 and then run patch 2) i found the issue that patch runs fine but files are not updated.

I also tried to add reference to Patch 1 in your Patch 2 project and then, installed Patch2 over Patch1 installation. Same thing is happening here i.e. patch runs successfully without errors but the files are not updated.


There are lot of files in my project so it is not feasible to build the patch by adding files one by one.


Thanks,
Harvinder
Harvinder
 
Posts: 15
Joined: Fri Mar 30, 2012 2:50 am

Re: Patch Issue

Postby FrancescoT » Thu Apr 12, 2012 9:16 am

Dear ,

unfortunately without being able to have a project to look at is really difficult to understand what happens.

Questions:
In your Patch 2 project are you refering to all realized full previous version exes, placing those in the patch references view?

Your patch 1 correctly updates the file?

Let me know.

Regards
Francesco Toscano
InstallAware Software Support

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
FrancescoT
Site Admin
 
Posts: 1826
Joined: Sun Aug 22, 2010 4:28 am

Next

Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 4 guests