views:

53

answers:

2

Hay all. im using vs 2010 , and i have created a project which im trying to install using the setup from vs 2010. i need it to be able to be installed multiple times. and i didnt find the answer on the web. i have read some documents about orca and transform but not an understandable example. thanks in advance.

+1  A: 

This has been asked before, you can find it here. My answer explains what you need to do, and the accepted answer tells you how to do it with vbscript.

slugster
did you inserted this answer (script) to the installer or created a seperated file ? or non of the above ?
guy
@guy - i personally don't use that method, i use a proper installer builder (in my case InstallShield) which makes all that sort of stuff as easy as setting some properties in the designer. InstallShield have a free "express" offering for users of VS2010, you may want to check it out and see if it has enough features left in to be worth using.
slugster
thank you. i appreciate your answers
guy
A: 

See next Deployment Project properties:

DetectNewerInstalledVersion and RemovePreviousVersions

http://img821.imageshack.us/img821/7785/deploymentprojectproper.png

abatishchev
i am sorry but this way dont work. did it work for you ?
guy
@guy: What combination have you tried? Both false?
abatishchev
no what you have written here
guy
yes nd both if them false false
guy