Spaz
6/22/2006 6:16:00 PM
Hello,
I am working with .net 2003 and setting up a 'setup project' for my
solution. I can build a setup package fine. My problem is that I do not want
the installer to re-evaluate the installation each time the installed
application Icon is launched. The install package is part of a setup image
for our workstations and once the workstations are deployed, they will no
longer have access to the original install package. (Making a local copy and
installing from there is not an option)
Researching this led me to the following. There is a 'Condition'
property that can be set at the file level in the properties for each file.
The condition is to be set to 'not reinstall' along with 'Transitive'
property to 'True'. This has to be done at a file by file instance. A severe
limitation to this is that when I create a icon link (shortcut) in the 'Setup
Project' the link properties do not have a 'Condition' value that can be set.
So the above work around fails to work for links. The link (shortcut) was
added to the project by the 'Add New Shortcut' option. Using the 'Primary
Output' of my solution as the target.
As an attempted workaround, I tried to create a link (shortcut) through
windows and then add the .lnk file to the project. Unfortunately the studio
imports the actual target .exe of the link and not the link itself. So I'm
kinda at a loss now.
Any suggestions???
Thanks
Eric