Dear Francesco,
My Main installer seems to be stable, Thanks for all your support.
I'm trying to create a patch.
I created my patch project with appropriate product code,
revision code and version number as per your documents.
When i build my patch, I'm getting following error
Error during build: Unable to create patch database [Cannot generate a primary transform.]
Here i'm listing stages of Build process
(with this you may be able to say which stage it is failing & where to look at)
Extracting patch reference data from F:\Path......
Processed base package F:\Path\Myproduct.msi
Creating patch F:\Path\mypatch.msp
Error during build: Unable to create patch database [Cannot generate a primary transform.
Still New to patch project, using IAX5.
I'm trying to resolve it & at the same time i'm sharing it with you for getting suggestion.
Your tips have always helped me.
Regards
SITL
Unable to create patch database
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Unable to create patch database
Dear STIL,
I suggest you to have a look at following topics, where are available useful information on how to avoid common errors with patch creation.
It's also available Full Functional and ready to use Patch sample with the second link below.
http://www.installaware.com/forum/viewtopic.php?f=2&t=9656&hilit=+patch
http://www.installaware.com/forum/viewtopic.php?f=2&t=8697
Hope this helps you.
Regards
I suggest you to have a look at following topics, where are available useful information on how to avoid common errors with patch creation.
It's also available Full Functional and ready to use Patch sample with the second link below.
http://www.installaware.com/forum/viewtopic.php?f=2&t=9656&hilit=+patch
http://www.installaware.com/forum/viewtopic.php?f=2&t=8697
Hope this helps you.
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: Unable to create patch database
Thanks,Very useful. i'm working on it.
Regards
SITL
Regards
SITL
Re: Unable to create patch database
Dear Francesco,
Thanks for your help.
Your detailed email corrected my approach, otherwise i would have spent more time.
1. Both my base project and Patch are working fine.
patch can apply changes, it can add a file etc., NO issues here.
( It was not a easy job for me, thank you very much)
2. However, I'm testing different scenarios.
Here is one scenario (correct me if i'm wrong)
a. I created myproduct.msi and installed my product.
b. i rebuild my product as a myproduct.exe
c. Opened my patch project, and added patch reference as myproduct.exe
and made the patch build.
d. while applying patch, Browse folder dialog was shown.
e. I selected the cache folder and click OK.
f. It's NOT going forward, again and again showing browse folder dialog
Question 1 : Am i correct in installing with myproduct.msi and then creating myproduct.exe and building my patch with reference to myproduct.exe?
Question 2: Even after selecting correct folder, why the Browse folder dialog is shown again and again ?
Appreciate your time.
Regards
SITL
Thanks for your help.
Your detailed email corrected my approach, otherwise i would have spent more time.
1. Both my base project and Patch are working fine.
patch can apply changes, it can add a file etc., NO issues here.
( It was not a easy job for me, thank you very much)
2. However, I'm testing different scenarios.
Here is one scenario (correct me if i'm wrong)
a. I created myproduct.msi and installed my product.
b. i rebuild my product as a myproduct.exe
c. Opened my patch project, and added patch reference as myproduct.exe
and made the patch build.
d. while applying patch, Browse folder dialog was shown.
e. I selected the cache folder and click OK.
f. It's NOT going forward, again and again showing browse folder dialog
Question 1 : Am i correct in installing with myproduct.msi and then creating myproduct.exe and building my patch with reference to myproduct.exe?
Question 2: Even after selecting correct folder, why the Browse folder dialog is shown again and again ?
Appreciate your time.
Regards
SITL
- Attachments
-
- BrowseFolderCapture.GIF (12.32 KiB) Viewed 11603 times
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Unable to create patch database
Dear SITL,
did you check (not filled) the "Always Cache Setup Sources" option in the Build Setting?
This option must set with all projects, the Base project and each single Patch project.
"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."
For more details, please refer to the InstallAware documentation about the argument.
Hope this helps you.
Regards
did you check (not filled) the "Always Cache Setup Sources" option in the Build Setting?
This option must set with all projects, the Base project and each single Patch project.
"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."
For more details, please refer to the InstallAware documentation about the argument.
Hope this helps you.
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: Unable to create patch database
Dear Francesco,
Thanks for your help,
Very happy to tell you that my Installer and Patch are working fine.
(i did several rounds of manual testing)
Moving forward, I want to keep my patch in the server.
And I will have a shortcut (Update patch) in the start menu along with my product shortcut.
If the user click on the Update patch, installer will connects to server and download and install the patch.
OR any alternate way, similar to above.
Very much similar to web updates, but at the moment we are going with patch only.
bit confused, Appreciate your advice.
Regards
SITL
Thanks for your help,
Very happy to tell you that my Installer and Patch are working fine.
(i did several rounds of manual testing)
Moving forward, I want to keep my patch in the server.
And I will have a shortcut (Update patch) in the start menu along with my product shortcut.
If the user click on the Update patch, installer will connects to server and download and install the patch.
OR any alternate way, similar to above.
Very much similar to web updates, but at the moment we are going with patch only.
bit confused, Appreciate your advice.
Regards
SITL
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Unable to create patch database
Dear SITL,
you can delivery anything via Web Update and of course, even a patch ...so I don't understand where is the problem.
Regards
you can delivery anything via Web Update and of course, even a patch ...so I don't understand where is the problem.
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: Unable to create patch database
Francesco,
Done sir, Wonderful
Problem was my lack of understanding.
Every time you make any comment to my post, that makes me to verify certain things
and think in different angle.
I wish you have great weekend !
Thank you very much for sharing your knowledge.
Regards
SITL
Done sir, Wonderful
Problem was my lack of understanding.
Every time you make any comment to my post, that makes me to verify certain things
and think in different angle.
I wish you have great weekend !
Thank you very much for sharing your knowledge.
Regards
SITL
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Unable to create patch database
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: Unable to create patch database
Dear Francesco,
Thanks for all the help.
I have one question regarding following topic.
https://www.installaware.com/forums/viewtopic.php?f=2&t=8697
As per the topic we have:
- Project 1 (base project)
- Project 2 (patch project)
- Project 3 (patch project)
The patch relation references will be:
- Project 1 - No references
- Project 2 - Reference to Project 1 full build
- Project 3 - Reference to Project 1 and Project 2 full build
My question is -
For creating Project3, Should i clone Project 1 OR Project 2 ?
appreciate your advice.
Regards
SITL
Thanks for all the help.
I have one question regarding following topic.
https://www.installaware.com/forums/viewtopic.php?f=2&t=8697
As per the topic we have:
- Project 1 (base project)
- Project 2 (patch project)
- Project 3 (patch project)
The patch relation references will be:
- Project 1 - No references
- Project 2 - Reference to Project 1 full build
- Project 3 - Reference to Project 1 and Project 2 full build
My question is -
For creating Project3, Should i clone Project 1 OR Project 2 ?
appreciate your advice.
Regards
SITL
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Unable to create patch database
... of course, the latest one (Project 2).
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
Re: Unable to create patch database
Francesco, thank you very much.
Just one more clarification -
I have released two patches (Patch1 & Patch2)
How do i make Patch1 should be applied before applying Patch2 ?
NOTE:
Patch1 is Mandatory, User cannot proceed with Patch2 without applying Patch1.
Appreciate your comments.
Regards
SITL
Just one more clarification -
I have released two patches (Patch1 & Patch2)
How do i make Patch1 should be applied before applying Patch2 ?
NOTE:
Patch1 is Mandatory, User cannot proceed with Patch2 without applying Patch1.
Appreciate your comments.
Regards
SITL
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Unable to create patch database
Dear SITL,
Patches are cumulative Always ...so if you followed the patch sequence correctly, Patch2 should include Patch1 as well.
At any rate and as I have already suggested you probably in other post, you may store a value somewhere on the target machine (for example; a build/version number). Then you could query the same value in your patch script, to allow the patch installation conditionally.
Important note!
Starting from August, 21, 2017, becomes effective the new InstallAware Support Policy Update.
For more information;
- https://www.installaware.com/forums/viewtopic.php?f=2&t=10990
- https://www.installaware.com/forums/viewtopic.php?f=2&t=10991
Hope this helps you.
Regards
Patches are cumulative Always ...so if you followed the patch sequence correctly, Patch2 should include Patch1 as well.
At any rate and as I have already suggested you probably in other post, you may store a value somewhere on the target machine (for example; a build/version number). Then you could query the same value in your patch script, to allow the patch installation conditionally.
Important note!
Starting from August, 21, 2017, becomes effective the new InstallAware Support Policy Update.
For more information;
- https://www.installaware.com/forums/viewtopic.php?f=2&t=10990
- https://www.installaware.com/forums/viewtopic.php?f=2&t=10991
Hope this helps you.
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: Unable to create patch database
Dear Francesco,
Thank you so much for your great support
I'm extremely happy, you answered all my queries.
I miss your advice, Until we add Gold support.
Appreciate you.
Regards
SITL
Thank you so much for your great support
I'm extremely happy, you answered all my queries.
I miss your advice, Until we add Gold support.
Appreciate you.
Regards
SITL
Who is online
Users browsing this forum: No registered users and 57 guests