Installaware - Patch issue

Got a problem you cannot solve? Try here.
ravz
Posts: 48
Joined: Wed Jan 19, 2011 9:39 pm

Re: Installaware - Patch issue

Post by ravz »

Dear Francesco,

I am using "InstallAware 10.10" (Build Mooya.beta.311210) version
Attachments
Version.jpg
Version.jpg (32.77 KiB) Viewed 11570 times
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Installaware - Patch issue

Post by FrancescoT »

Dear Ravz,

- did you find those base project files deleted after patch installation when you run the setup builds included with the sample I posted?

or

- does it happen when you rebuild my sample?

Regards
Francesco Toscano
InstallAware Software

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
ravz
Posts: 48
Joined: Wed Jan 19, 2011 9:39 pm

Re: Installaware - Patch issue

Post by ravz »

Dear Francesco,

- First i have installed your base build (which you have share with me) setup
- i have verified the application it was works fine, files are available
- Again i ran the patch setup which you have share with me
- Patch was installed successfully
- when i tried to run the application it was not working, i checked the installation path base build files were deleted

please note i haven't rebuild or made any changes in the sample which you provided me.
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Installaware - Patch issue

Post by FrancescoT »

Dear Ravz,

could you please try with using the new attached files?
I just tried and works fine.

Regards
Attachments
Sample Project.rar
(4.61 MiB) Downloaded 420 times
Francesco Toscano
InstallAware Software

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
ravz
Posts: 48
Joined: Wed Jan 19, 2011 9:39 pm

Re: Installaware - Patch issue

Post by ravz »

Dear Francesco,

My web application has there modules like (module1, module2, module3)
I have created the "Features" for the modules under the Setup Architecture and configure those modules in IIS using “IIS sites” in Server Configuration.
Created modules were available in the web media block and configured the download URL for those modules.
I have selected the Build type as “Compressed Web Based EXE” and Checked the “Always Cache Setup Source” option in Build settings

Once deployed the application i have the following files in the output path (IA project path/Release/web/)
- Application.exe
- Module1.7zip
- Module2.7zip
- Module3.7zip

While i executed the Application.exe in the Target machine, the required modules (Module1, Module2, Module3) were downloaded and installed successfully.

For create the patch, i have opened and save as the IA base project in different folder.
Open the IA patch project and save as the script file in the patch folder.
Added the base project "Application.exe" as the patch reference in the IA patch project and click the “Build Patch” button, patch file was created in the (IA project path/Patch/) path.
Under this folder i have only “Application.exe” file.

While install the Application.exe (patch) file in the Target machine, i get the following issue “ the file '<filename>' cannot be installed because the file cannot be found in cabinet file 'PCW_CAB_C44B83B4' “

Whether the patch generate only the Application.exe or create the all modules along with the Application.exe?
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Installaware - Patch issue

Post by FrancescoT »

Dear Ravz,

the patch creates an output file built using binary differential scans and contain only the delta of the changes between the older setups and the newest setup.

In other words;

- if the base project installs file A and the Patch project installs an additional file B, the emitted patch exe contains only file B.
- if the base project installs file A and the Patch project installs an updated version of file A, the emitted patch exe only contains the delta of the changes between the two versions of file A (binary differences).

Regards
Francesco Toscano
InstallAware Software

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
ravz
Posts: 48
Joined: Wed Jan 19, 2011 9:39 pm

Re: Installaware - Patch issue

Post by ravz »

Dear Francesco,

We are trying to give you more clarity on the previously discussing issue with patch creation.

We tried creating a patch for our silverlight application. However we created the patch in the same way you mentioned earlier.

While trying to install the patch we are facing an error in the cabinet file.
i.e the file 'HelpBo7e17cHelpBookmark' cannot be found in 'PCW_CAB_5ED10594' cabinet file.

But i tried to extract the setup file using 7-zip file manager and explored for the above file, all those files are present in the setup package. please find the screen print of those details.

Please provide us a solution or the reason for the patch fail.
Attachments
Patch_Issue.jpg
Patch_Issue.jpg (336.04 KiB) Viewed 11488 times
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Installaware - Patch issue

Post by FrancescoT »

Dear Ravz,

are you sure that all your projects are using the same PROCUCT VERSION?

Regards
Francesco Toscano
InstallAware Software

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
ravz
Posts: 48
Joined: Wed Jan 19, 2011 9:39 pm

Re: Installaware - Patch issue

Post by ravz »

Dear Francesco,

Yes, I am using the same PRODUCT VERSION for both the (Build and Patch) projects.
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Installaware - Patch issue

Post by FrancescoT »

Dear Ravz,

by what you say everything seem correct.
However, I am sure you missed something or exist an error somewhere, but by the information you shared, I'm not able to find out the cause.

I recall that when you posted your first patch project, you told me to have used the same UPGRADECODE ... where in reality you didn't.

Anyway, if you want I can have a look at your projects.

Regards
Francesco Toscano
InstallAware Software

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
ravz
Posts: 48
Joined: Wed Jan 19, 2011 9:39 pm

Re: Installaware - Patch issue

Post by ravz »

Dear Francesco,

For confidentiality we cannot share the (Silverlight) application, but I have created the same scenario of my application in the attached sample (Silverlight) application.
In the sample application I have one WCF service project (Core) and Two Silverlight projects (Module1, Module2).

Attached sample contains the following:
1. app_files\Version 1.0 – Published files of actual source
2. app_files\Version 1.1 – Published files of patch source
3. Build – Installware project for building setup
4. Patch – Installaware project for building patch

Scenario:
Try to upgrade the installed base application using the patch to include the new files (Support files) I am getting the following error,
"the file '<filename>' cannot be installed because the file cannot be found in cabinet file 'PCW_CAB_C44B83B4' “
Attachments
Patch.zip
Installaware project for building patch
(2.78 MiB) Downloaded 412 times
Build.zip
Installware project for building setup
(2.07 MiB) Downloaded 401 times
app_files.zip
Published files of actual source (version 1.0) and patch source (version 1.1)
(1.93 MiB) Downloaded 425 times
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Installaware - Patch issue

Post by FrancescoT »

Let me check it.

Regards
Francesco Toscano
InstallAware Software

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
ravz
Posts: 48
Joined: Wed Jan 19, 2011 9:39 pm

Re: Installaware - Patch issue

Post by ravz »

Dear Francesco,

Any update on this?
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Installaware - Patch issue

Post by FrancescoT »

Unfortunately, I did not find enough time to look at your project.

I ask you to be patient only ... I didn't forget your issue.

Regards
Francesco Toscano
InstallAware Software

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
ravz
Posts: 48
Joined: Wed Jan 19, 2011 9:39 pm

Re: Installaware - Patch issue

Post by ravz »

Dear Francesco,

Any update on this?
Post Reply