Version Problem remains same... - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

nilesh_bahirshet
Posts: 53
Joined: Mon Sep 08, 2008 3:09 pm

Version Problem remains same...

After sucssessfully patching the .exe which is in ...\Program files\Company Name\abc.exe's version remains same 1.0.0.0 donot change..
But the my application which is in control pannel it shows 1.0.2
What should I do ?
( I have one more query.. The name displyed in the Control panel -> Add Remove programme -> my application name is called as the Windows Installer product ?)

2) For patching If I select the Size of .exe in installation Detection in upgradation Project downloads perfectly but If I select the version then
Patches downloaded succsessfully .exe runs fins with new updates ...but at last step befor finish step Its shows error message
that "Some of the updates failed to install properly "


you have answred me with my previous question
The patch is downloaded every time because the detection criteria of the update is not correct. Here is an example scenario:
- your application uses only one file named "MyApp.exe" and this file has the version 2.0.0
- you create a package for it and you set the version of the package to 1.0.0
- this package is installed on the user's machine
- you modify the application and the version of "MyApp.exe" is changed to 2.0.1
- you increase the version of the package to 1.0.1 and include the 2.0.1 version of "MyApp.exe" in it
- you create a patch between the 1.0.0 and 1.0.1 versions of the package
- in the updates configuration project the detection criteria of this patch should be the file "MyApp.exe" with the version 1.0.1

but I am starting with 1.0.0 how should I direct start with 2.0.0 ?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Version Problem remains same...

Hi,
After sucssessfully patching the .exe which is in ...\Program files\Company Name\abc.exe's version remains same 1.0.0.0 donot change..
But the my application which is in control pannel it shows 1.0.2
Like I explained before, the version of your file is NOT RELATED to the version of the installation package. Each of the is set independently:
- the version of your file is set from its source code
- the version of the package is set in the Advanced Installer project.
The name displyed in the Control panel -> Add Remove programme -> my application name is called as the Windows Installer product ?
Please note that you can set the information shown in "Add or Remove Programs" by using the Product Details page.
For patching If I select the Size of .exe in installation Detection in upgradation Project downloads perfectly but If I select the version then
Patches downloaded succsessfully .exe runs fins with new updates ...but at last step befor finish step Its shows error message
that "Some of the updates failed to install properly "
This happens because the version of your file doesn't change in the upgraded package. Please note that I explained this here:
http://www.advancedinstaller.com/forums ... f=2&t=8046
but I am starting with 1.0.0 how should I direct start with 2.0.0 ?
Please note that this was only an example to help you understand that the version of your file is not related to the version of the package. Also, the version of a file can be set in its source code.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”