By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,885 Members | 1,267 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,885 IT Pros & Developers. It's quick & easy.

Setup & file association

P: n/a
I have created a Setup project wich includes couple of text file and it also
includes file association of .tsrx.

After the application is installed if I happen to delete any one of the text
files the Setup runs automaticaly and installs those text files back when I
double click on the any of the .tsrx files. How can I prevent this from
happening, I want the user to have an option of being able to delete these
text files.
Thanks

Peter


Nov 16 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Peter, what you need to do is adjust the properties on the files that you
do not want reinstalled.
To get the files not to be part of the install:
Set the files' Condition = NOT REINSTALL (specifying to not install this
file on a reinstall)
And set the Transitive value = TRUE (specifying to re-evalute the condition
on a reinstall)

Unfortunetly when the file is first removed and the file type is launched
the reinstall will launch but not replace the file. No repair should occur
the second time after the file has been deleted.

Todd Derksen
--------------------
Visual Basic Deployment Test Team
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: "Peter" <cz****@newsgroups.nospam>
Subject: Setup & file association
I have created a Setup project wich includes couple of text file and it alsoincludes file association of .tsrx.

After the application is installed if I happen to delete any one of the textfiles the Setup runs automaticaly and installs those text files back when I
double click on the any of the .tsrx files. How can I prevent this from
happening, I want the user to have an option of being able to delete these
text files.
Thanks

Peter



Nov 16 '05 #2

P: n/a
Thank you , that worked
"Todd Derksen [MSFT]" <td******@online.microsoft.com> wrote in message
news:SX*************@cpmsftngxa10.phx.gbl...
Peter, what you need to do is adjust the properties on the files that you
do not want reinstalled.
To get the files not to be part of the install:
Set the files' Condition = NOT REINSTALL (specifying to not install this
file on a reinstall)
And set the Transitive value = TRUE (specifying to re-evalute the condition on a reinstall)

Unfortunetly when the file is first removed and the file type is launched
the reinstall will launch but not replace the file. No repair should occur the second time after the file has been deleted.

Todd Derksen
--------------------
Visual Basic Deployment Test Team
This posting is provided "AS IS" with no warranties, and confers no rights. --------------------
From: "Peter" <cz****@newsgroups.nospam>
Subject: Setup & file association
I have created a Setup project wich includes couple of text file and it

also
includes file association of .tsrx.

After the application is installed if I happen to delete any one of the

text
files the Setup runs automaticaly and installs those text files back when Idouble click on the any of the .tsrx files. How can I prevent this from
happening, I want the user to have an option of being able to delete thesetext files.
Thanks

Peter


Nov 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.