PDA

View Full Version : How to stop installing second time



satyamurthy
03-14-2004, 11:33 PM
how to make a user to install once. If he tries for the install again it should ask for removing existing one.

In detail, we have a product at www.kalstride.com in both trial and commercial version.
1)In a machine, It is allowing both versions to install. It shouldn't allow
2)Once installed, desktop and start menu icons are not displaying for all users
3)Only admin should install and uninstall the product.

Thanks in advance...pls help me soon...

boaz954
03-15-2004, 07:55 PM
1)In a machine, It is allowing both versions to install. It shouldn't allow
2)Once installed, desktop and start menu icons are not displaying for all users
3)Only admin should install and uninstall the product.


1) the two different versions have two different Upgrade Code
2) don't know
3) starting from WIN2000, installation requires Admin to do it

veebeefive
03-19-2004, 09:26 AM
You answered your own question. The upgrade code should be the same for both products, otherwise MSI treats them as completely independent products.

Set the update path to allow the previous versions and include them all, that way when the user installs the 'full' version of the software, certain files i.e. database are preserved, registry settings are preserved, and the product itself is updated.

Voila, only one copy of the software permitted.

veebeefive
03-19-2004, 09:28 AM
Oopps. as for the icons and shortcuts, make sure that the software is installed for ALL users and not current user.

Sometimes the registry can be locked against changes for certain users and you will need to use Regedt32.exe on pre xp or good ol regedit on xp to check it. Set the permissions to full (read/write on the registry branches you need)

Carl.