Hi,...

If you are talking about the same version of package (same product,
package code, same version) than this is normal behaviour.

Of course you can add some warnings to warn the user that same
version is already installed.

Anyway, you should use the Upgrade table to detect other versions of
the product installed.

<Upgrade Id="$(var.UpgradeCode)">
        <UpgradeVersion IgnoreRemoveFailure="yes" Language="1033"
Maximum="$(var.Version)" IncludeMaximum="no" Minimum="1.0.0.0"
MigrateFeatures="no" Property="UPGRADE_VERSION_PROP" />
        <UpgradeVersion Minimum="$(var.Version)" IncludeMinimum="no"
OnlyDetect="yes" Property="NEWERVERSIONDETECTED" MigrateFeatures="no"/>
</Upgrade>


where $(var.UpgradeCode) is wix preprocessor variable defining the
Upgrade code of your product.
The NEWERVERSIONDETECTED property will be set (filled with product
code of detected installation) if there is newer version of the
product already installed.
The UPGRADE_VERSION_PROP property will be set (filled with product
code of detected installation) if there is older version of the
product installed.

For more details see msdn - Upgrade Table
http://msdn2.microsoft.com/en-us/library/aa372379.aspx
or WiX help.

Regards

Stefan


David Allen wrote:
> I have created an install package, but I am able to
> run the install over and over without being prompted
> with an error message telling me the application I am
> trying to install already exists.
> 
> Is there some sort of attribute I need on the Product
> or Package tag? I am new to WIX and cant find any
> documentation on how to do this.
> 
> Thanks in advance.
> 
> 
>        
> ____________________________________________________________________________________
> Don't get soaked.  Take a quick peak at the forecast
> with the Yahoo! Search weather shortcut.
> http://tools.search.yahoo.com/shortcuts/#loc_weather
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to