Dear Support Team,
I have create the web deploy for my (web) application using Installaware developer 11 and it is working fine. But, when i create the patch I am getting the following issue.
"The file 'System7e17cSystem.Servic219' cannot be installed because the file cannot be found in cabinet file 'PC_CAB_8D4F2A0E'. This could indicate a network error, an error reading from the CD-ROM, or a problem with this package."
Here i have attached the screen shot for your reference, Please assist on the same.
Installaware - Patch issue
Installaware - Patch issue
- Attachments
-
- PatchIssue.jpg (25.89 KiB) Viewed 14904 times
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Installaware - Patch issue
Dear User,
please verify that "Setup Source files" with both packages (the base project and the patch project) are forcibly cached.
This option is controlled by "Always Cache Setup Sources (enables easy patching)" flag available with "Build Settings" page in IA IDE.
"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."
Please refer to IA documentation for more details.
Regards
please verify that "Setup Source files" with both packages (the base project and the patch project) are forcibly cached.
This option is controlled by "Always Cache Setup Sources (enables easy patching)" flag available with "Build Settings" page in IA IDE.
"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."
Please refer to IA documentation for more details.
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
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
Re: Installaware - Patch issue
Dear Francesco,
Thanks for your reply,
I have tried the same referring the IA document, still the issue persists. Attached screenshot for your kind reference and please suggest how to proceed with.
Thanks for your reply,
I have tried the same referring the IA document, still the issue persists. Attached screenshot for your kind reference and please suggest how to proceed with.
- Attachments
-
- PatchIssue1.jpg (31.69 KiB) Viewed 14879 times
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Installaware - Patch issue
Dear User,
have you followed the steps described with the following topic?
http://forums.installaware.com/viewtopic.php?f=2&t=8847&start=0&hilit=patch
Are you able to execute correctly the patch sample project available with the link below?
http://www.installaware.com/forum/viewtopic.php?f=2&t=9343&start=0&hilit=patch
Regards
have you followed the steps described with the following topic?
http://forums.installaware.com/viewtopic.php?f=2&t=8847&start=0&hilit=patch
Are you able to execute correctly the patch sample project available with the link below?
http://www.installaware.com/forum/viewtopic.php?f=2&t=9343&start=0&hilit=patch
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
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
Re: Installaware - Patch issue
Dear Francesco,
Thanks for your reply.
I have tried the sample (patch) application given in the IA document and it is working,
But when I tried the same steps with my application, it was not working, again the issue occurred.
I have followed the below steps to create a patch for my application:
1. Assigned a version number (1.0) to my project.
2.Released my project via web and copied my .7zip-, installer- and .ini-files on the ftp-server.
3. Also copied installer-file to a new folder on my computer called 'Main Setup'
4. Installed this project on my client.
Everything was fine till the above step and the software installed successfully.
I did some changes in my project, and now I need to update my new changes.
5. I added the old installer-file in the 'Main Setup'-folder as a new patch reference.
6. Now I navigated to the patches-tab and clicked the button 'Build Patch', A new installer-file and an .ini-file were created.
7. I copied these files to the ftp-server and tried to launch the patch manually from the client.
8. The Installaware Wizard shows up, but when I want to install the patch, it fails with the message "The file '...' cannot be installed because the file cannot be found in cabinet file 'PC_CAB_...'. This could indicate a network error, an error reading from the CD-ROM, or a problem with this package. ".
Did I miss any point?
Kindly guide me to solve the above.
Thanks for your reply.
I have tried the sample (patch) application given in the IA document and it is working,
But when I tried the same steps with my application, it was not working, again the issue occurred.
I have followed the below steps to create a patch for my application:
1. Assigned a version number (1.0) to my project.
2.Released my project via web and copied my .7zip-, installer- and .ini-files on the ftp-server.
3. Also copied installer-file to a new folder on my computer called 'Main Setup'
4. Installed this project on my client.
Everything was fine till the above step and the software installed successfully.
I did some changes in my project, and now I need to update my new changes.
5. I added the old installer-file in the 'Main Setup'-folder as a new patch reference.
6. Now I navigated to the patches-tab and clicked the button 'Build Patch', A new installer-file and an .ini-file were created.
7. I copied these files to the ftp-server and tried to launch the patch manually from the client.
8. The Installaware Wizard shows up, but when I want to install the patch, it fails with the message "The file '...' cannot be installed because the file cannot be found in cabinet file 'PC_CAB_...'. This could indicate a network error, an error reading from the CD-ROM, or a problem with this package. ".
Did I miss any point?
Kindly guide me to solve the above.
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Installaware - Patch issue
Dear User,
which are exactly the changes that you made to the project?
Note!
As suggested by the topic that I previously posted and described by the sample as well;
- are you using two distinct projects & folders (one for the base app and the other for the patch)?
- Have you used the same; ProjectName, PRODUCTCODE, UPGRADECODE and VERSION number with both projects?
Anyway, if you are able to replicate the same with a very minimal project, I'll be happy to verify it.
Regards
which are exactly the changes that you made to the project?
Note!
As suggested by the topic that I previously posted and described by the sample as well;
- are you using two distinct projects & folders (one for the base app and the other for the patch)?
- Have you used the same; ProjectName, PRODUCTCODE, UPGRADECODE and VERSION number with both projects?
Anyway, if you are able to replicate the same with a very minimal project, I'll be happy to verify 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
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
Re: Installaware - Patch issue
Dear Francesco,
Regarding the changes in my application, I have added new controls to the screen.
Also, I was using only one (installaware) project for both base app and patch (as referred in IA document - patch sample) and used same ProjectName, PRODUCTCODE and Version number
I have attached the sample project here for your reference.
- In the sample project i have designed a user registration screen with few details (User id, Password, Confirm Password)
- I have created the new Installaware project for this application ,generated the new Build , installed and it worked fine.
- I have modified the screen, added new control for E-mail ID.
- I have copied the first build in to separate folder and again build the installaware project
- I have added the patch reference for the first build and created the patch
- When I Copied the patch file and tried to install in the same system, the same issue reoccurred.
Kindly Suggest how to proceed with.
Regarding the changes in my application, I have added new controls to the screen.
Also, I was using only one (installaware) project for both base app and patch (as referred in IA document - patch sample) and used same ProjectName, PRODUCTCODE and Version number
I have attached the sample project here for your reference.
- In the sample project i have designed a user registration screen with few details (User id, Password, Confirm Password)
- I have created the new Installaware project for this application ,generated the new Build , installed and it worked fine.
- I have modified the screen, added new control for E-mail ID.
- I have copied the first build in to separate folder and again build the installaware project
- I have added the patch reference for the first build and created the patch
- When I Copied the patch file and tried to install in the same system, the same issue reoccurred.
Kindly Suggest how to proceed with.
- Attachments
-
- Sample Project.zip
- (2.31 MiB) Downloaded 454 times
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Installaware - Patch issue
Dear Ravz,
with one of my previous reply, I posted a link where a sample that demonstrates how to handle Patch project it is available.
Did you checked the projects included with sample?
The sample contains two distinct projects and folders; one for the BASE project & another one for the PATCH project.
In addition the sample includes an "appfiles" folder that contains the files used by the BASE and the PATCH project respectively.
Why do you used a single project with the sample you posted?
How do you keep track of any successive project modifications, if you use one single project for all?
In the unlikely event that some problems occur later, how do you restore back your original project settings?
Unfortunately, with the files you sent me I am not able to find out the correct BASE and PATCH relation quickly.
If you want to supply a project to be verified, you should send;
- The BASE PROJECT within a separate folder.
- The Patch project within a separate folder.
- The APPLICATION FILES folder which contains in two separate sub-folders respectively, the file installed by the BASE project and those installed by the PATCH.
The Patch project must be the exact copy of the BASE project and the faster way to generate it, it is;
Open the Base project in IA and save it to a different previously created folder.
Once saved it, close IA, load the just created Patch project and verify that used main script is still not pointing to the one under the BASE project folder.
This can be easily checked within the MsiCode View in IA IDE. Ricght click the "Script" node under the left tree pane and select "Save script file as", then save it under the correct PATCH project folder location (if the case).
Finally, modify the PATCH project as required by your patch specifications ( ... patch reference and files to be updated).
Regards.
with one of my previous reply, I posted a link where a sample that demonstrates how to handle Patch project it is available.
Did you checked the projects included with sample?
The sample contains two distinct projects and folders; one for the BASE project & another one for the PATCH project.
In addition the sample includes an "appfiles" folder that contains the files used by the BASE and the PATCH project respectively.
Why do you used a single project with the sample you posted?
How do you keep track of any successive project modifications, if you use one single project for all?
In the unlikely event that some problems occur later, how do you restore back your original project settings?
Unfortunately, with the files you sent me I am not able to find out the correct BASE and PATCH relation quickly.
If you want to supply a project to be verified, you should send;
- The BASE PROJECT within a separate folder.
- The Patch project within a separate folder.
- The APPLICATION FILES folder which contains in two separate sub-folders respectively, the file installed by the BASE project and those installed by the PATCH.
The Patch project must be the exact copy of the BASE project and the faster way to generate it, it is;
Open the Base project in IA and save it to a different previously created folder.
Once saved it, close IA, load the just created Patch project and verify that used main script is still not pointing to the one under the BASE project folder.
This can be easily checked within the MsiCode View in IA IDE. Ricght click the "Script" node under the left tree pane and select "Save script file as", then save it under the correct PATCH project folder location (if the case).
Finally, modify the PATCH project as required by your patch specifications ( ... patch reference and files to be updated).
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
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
Re: Installaware - Patch issue
Dear Francesco,
I have attached my sample project (application ) as per the format mentioned.
Let me know if patch for my application is able to install and process steps to do.
FYI, Changes done in Default.aspx, Line number 53 to 60 , newly added in Version1.1
Regards,
I have attached my sample project (application ) as per the format mentioned.
Let me know if patch for my application is able to install and process steps to do.
FYI, Changes done in Default.aspx, Line number 53 to 60 , newly added in Version1.1
Regards,
- Attachments
-
- Sample Project.zip
- (5.1 MiB) Downloaded 473 times
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Installaware - Patch issue
... I will be back as soon as possible.
Regards
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
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
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Installaware - Patch issue
Dear Ravz,
As I told you previously, the patch project must be the EXACT COPY OF THE BASE PROJECT.
The sample you supplied uses as patch project that it is NOT a copy of your base project .
Your patch project uses a different UPGRADECODE ( ... and probably there are also other differences ... I haven't investigated further) and due of this, it fails to work properly.
To fix the problem I have created a new patch project (MAKING THE EXACT COPY OF THE BASE PROJECT) and replaced the files to update.
IT WORKS FINE!.
However, because your patch replaces all files installed by the BASE PROJECT, the size of the two setup packages emitted is quite similar.
You have to keep in mind, that a patch is created on the binaries differences that exist with all the projects involved with the patch project.
Please have a look at the available IA documentation about the argument.
I really hope that this finally clarify all your doubt.
NOTE!
If you wish to rebuild the patch project, please update the patch reference (... using a path that reflects your effective system path).
It is not required any other action to rebuild the attached projects.
Regards.
As I told you previously, the patch project must be the EXACT COPY OF THE BASE PROJECT.
The sample you supplied uses as patch project that it is NOT a copy of your base project .
Your patch project uses a different UPGRADECODE ( ... and probably there are also other differences ... I haven't investigated further) and due of this, it fails to work properly.
To fix the problem I have created a new patch project (MAKING THE EXACT COPY OF THE BASE PROJECT) and replaced the files to update.
IT WORKS FINE!.
However, because your patch replaces all files installed by the BASE PROJECT, the size of the two setup packages emitted is quite similar.
You have to keep in mind, that a patch is created on the binaries differences that exist with all the projects involved with the patch project.
Please have a look at the available IA documentation about the argument.
I really hope that this finally clarify all your doubt.
NOTE!
If you wish to rebuild the patch project, please update the patch reference (... using a path that reflects your effective system path).
It is not required any other action to rebuild the attached projects.
Regards.
- Attachments
-
- Sample Project.rar
- (4.61 MiB) Downloaded 456 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
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
Re: Installaware - Patch issue
Dear Francesco,
I have tried installing base build and patch project you have provided, The patch project got installed without any error (mentioned in the previous posts).
But I found the base build files were deleted from the installed path after this installation.
What could be the reason behind the deletion of the files ?
Could you plz list the steps you did for building this patch, as I am getting the error still here?
Regards
I have tried installing base build and patch project you have provided, The patch project got installed without any error (mentioned in the previous posts).
But I found the base build files were deleted from the installed path after this installation.
What could be the reason behind the deletion of the files ?
Could you plz list the steps you did for building this patch, as I am getting the error still here?
Regards
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Installaware - Patch issue
Dear Ravz,
I'm very sorry but I don't understand if you found the sample I sent you not working or if you are referring to your real project.
Regarding the steps I used, these are those already indicated with my previous posts.
Basically, I have just created a new Patch project instead of using the one you supplied.
As I told you with my previous post;
Regards
I'm very sorry but I don't understand if you found the sample I sent you not working or if you are referring to your real project.
Regarding the steps I used, these are those already indicated with my previous posts.
Basically, I have just created a new Patch project instead of using the one you supplied.
As I told you with my previous post;
...the patch project must be the EXACT COPY OF THE BASE PROJECT.
The sample you supplied uses as patch project that it is NOT a copy of your base project .
Your patch project uses a different UPGRADECODE ( ... and probably there are also other differences ... I haven't investigated further) and due of this, it fails to work properly.
To fix the problem I have created a new patch project (MAKING THE EXACT COPY OF THE BASE PROJECT) and replaced the files to update.
IT WORKS FINE!.
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
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
Re: Installaware - Patch issue
Dear Francesco,
I found the base build files were deleted from the installed path (sample project which you provided) after this installation.
What could be the reason behind the deletion of the files ?
Regards
I found the base build files were deleted from the installed path (sample project which you provided) after this installation.
What could be the reason behind the deletion of the files ?
Regards
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Installaware - Patch issue
Dear Ravz,
honestly, I do not find those files deleted by the patch installation.
Which IA version are you using?
Regards
honestly, I do not find those files deleted by the patch installation.
Which IA version are you using?
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
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
Who is online
Users browsing this forum: No registered users and 99 guests