Wrong version number after installation - 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!

DenNu
Posts: 14
Joined: Mon Aug 29, 2011 7:07 pm

Wrong version number after installation

Hello,

My product is version 11.1.7.0 (Product Details/Product Version).
after installation in the installation summary but appear as version 11.1.5.7?

also a complete uninstall of the application changes nothing. After the installation is displayed again Version 11.1.5.7.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Wrong version number after installation

Hello,

You should try to use three digits instead of four. Here's a thread that clarifies this.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
DenNu
Posts: 14
Joined: Mon Aug 29, 2011 7:07 pm

Re: Wrong version number after installation

Thanks for the reply.
Unfortunately it is not the thread with my problem.

In registrie, in the field DisplayVersion an incorrect version number (11.1.5.7) is issued.
The correct number should be issued 11.1.7.0. is also correct. The version 11.1.5.7 should not be included in the project file.

11.1.7.0 version is newer than version 11.1.5.7
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Wrong version number after installation

Hello,

Does this behavior manifest on several clean machines?

If so, can you please send us the .AIPs ( both versions project files ) and a verbose log of the upgrade installation to support at advancedinstaller dot com so we can investigate them?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
DenNu
Posts: 14
Joined: Mon Aug 29, 2011 7:07 pm

Re: Wrong version number after installation

e-mail is on the way.

here the range of the project file.

see:

Code: Select all

<ROW Registry="DisplayVersion" Root="-1" Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\[ProductName] [ProductVersion]" Name="DisplayVersion" Value="11.1.5.7" Component_="AI_CustomARPName"/>
Full-Code

Code: Select all

  <COMPONENT cid="caphyon.advinst.msicomp.MsiRegsComponent">
    <ROW Registry="Comments" Root="-1" Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\[ProductName] [ProductVersion]" Name="Comments" Value="Installiert  [ProductName] auf dem Rechner." Component_="AI_CustomARPName"/>
    <ROW Registry="Contact" Root="-1" Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\[ProductName] [ProductVersion]" Name="Contact" Value="[URL]" Component_="AI_CustomARPName"/>
    <ROW Registry="DisplayIcon" Root="-1" Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\[ProductName] [ProductVersion]" Name="DisplayIcon" Value="[ARP_ICON_PATH]" Component_="AI_CustomARPName"/>
    <ROW Registry="DisplayName" Root="-1" Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\[ProductName] [ProductVersion]" Name="DisplayName" Value="[AI_PRODUCTNAME_ARP]" Component_="AI_CustomARPName"/>
    <ROW Registry="DisplayVersion" Root="-1" Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\[ProductName] [ProductVersion]" Name="[b]DisplayVersion[/b]" Value="[b]11.1.5.7[/b]" Component_="AI_CustomARPName"/>
    <ROW Registry="HelpLink" Root="-1" Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\[ProductName] [ProductVersion]" Name="HelpLink" Value="[URL]" Component_="AI_CustomARPName"/>
    <ROW Registry="HelpTelephone" Root="-1" Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\[ProductName] [ProductVersion]" Name="HelpTelephone" Value="[URL]" Component_="AI_CustomARPName"/>
    <ROW Registry="InstallDir" Root="2" Key="Software\[Manufacturer]\[SmallProductName]" Name="InstallDir" Value="[APPDIR]" Component_="InstallDir"/>
    <ROW Registry="InstallLocation" Root="-1" Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\[ProductName] [ProductVersion]" Name="InstallLocation" Value="[APPDIR]" Component_="AI_CustomARPName"/>
    <ROW Registry="ModifyPath" Root="-1" Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\[ProductName] [ProductVersion]" Name="ModifyPath" Value="[AI_UNINSTALLER] /I [ProductCode]" Component_="AI_CustomARPName"/>
    <ROW Registry="ProductCode_2" Root="2" Key="Software\[Manufacturer]\[SmallProductName]" Name="ProductCode" Value="[ProductCode]" Component_="ProductCode"/>
    <ROW Registry="ProductName_2" Root="2" Key="Software\[Manufacturer]\[SmallProductName]" Name="ProductName" Value="[ProductName]" Component_="ProductName"/>
    <ROW Registry="ProductVersion_2" Root="2" Key="Software\[Manufacturer]\[SmallProductName]" Name="ProductVersion" Value="[ProductVersion]" Component_="ProductVersion"/>
    <ROW Registry="Publisher" Root="-1" Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\[ProductName] [ProductVersion]" Name="Publisher" Value="n4w" Component_="AI_CustomARPName"/>
    <ROW Registry="URLInfoAbout" Root="-1" Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\[ProductName] [ProductVersion]" Name="URLInfoAbout" Value="[URL]" Component_="AI_CustomARPName"/>
    <ROW Registry="URLUpdateInfo" Root="-1" Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\[ProductName] [ProductVersion]" Name="URLUpdateInfo" Value="[URL]" Component_="AI_CustomARPName"/>
    <ROW Registry="UninstallString" Root="-1" Key="Software\Microsoft\Windows\CurrentVersion\Uninstall\[ProductName] [ProductVersion]" Name="UninstallString" Value="[AI_UNINSTALLER] /x [ProductCode]" Component_="AI_CustomARPName"/>
    <ROW Registry="UpgradeCode" Root="2" Key="Software\[Manufacturer]\[SmallProductName]" Name="UpgradeCode" Value="[UpgradeCode]" Component_="UpgradeCode"/>
    <ROW Registry="__17" Root="2" Key="Software\Microsoft\.NETFramework\v2.0.50727\AssemblyFoldersEx\[SmallProductName]" Value="[Bin_DIR]" Component_="__17"/>
  </COMPONENT>
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Wrong version number after installation

This was caused by a bug in Advanced Installer. In the current version, i.e. 8.8.1 this should be fix, just go to Product Details page and disable than enable back the option "Overwrite Windows Installer programs list entry".

You can download the current version from here:
http://www.advancedinstaller.com/download.html

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”