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!

jfaiga
Posts: 25
Joined: Wed Sep 13, 2006 8:21 am

.msi properties

How can I put the Product Version in the "msi properties dialog" ?
(I am referring to the dialog available when right clicking on the msi, and selecting properties).
I am looking into this as an alternative to putting the version in the PackageName, with the aim that someone can determine the version of the msi without installing it.
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Hi,

The information displayed by the Properties dialog is controlled by the shell. You can include the version string in the ProductName (this will be displayed in the "Subject" field).

Regards,
Ionut
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/
jbridges
Posts: 38
Joined: Fri Jun 09, 2006 12:36 am

Get lots of Info with an AutoIt3 script

In our environment, I have a preinstall.au3 (AutoIt3 script) which examines the MSI file and also the installed products. This is not something I distribute to customers but handy in our internal environment, where there is a repetitive uninstall/install old/new build at least once per day.

This is easy to do following the guidance that Microsoft gives on using the Windows Installer as an Automation object. You can pick out the ProductVersion and much more.

AutoIt is an excellent, easy to use, scripting tool and you can compile the script into an EXE. This makes it possible to do everything you may be doing now with an inline vbscript. I avoid vbscript because it is considered a security hazard by many and sometimes system admins disable it on machines they control.

Just search for Windows Installer Automation at the MSDN website. You can get AutoIt3 at http://www.autoitscript.com

Return to “Common Problems”