473,322 Members | 1,540 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

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 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
2 2244
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: steve | last post by:
Hi, I just upgraded my php but ran into a problem. Never seen this before. Somehow it seems I lost php file association. When I do a http://localhost/something.php I get a prompt for dowload...
6
by: Justin F | last post by:
I have set up file association for my application (VB.Net). I'm having problems getting the filename that was double-clicked. On my machine at work, if the filename being passed in to the...
1
by: JerryP | last post by:
Hi Experts, from my program I offer the user to launch different files from a directory (normaly in this directory are .txt files) - but sometimes other files may be in there - so if my program...
4
by: Peter | last post by:
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...
0
by: Mats-Lennart Hansson | last post by:
Hi, I've made a setup program within Visual Studio 2003 where I've added a file association (*.cfp, own format) with my program. This works fine, when I double click a file with the extension .cfp...
6
by: Nak | last post by:
Hi there, I am implementing file association from within my application, association that occurs after installation. Anyway, I remember a while back seeing a key in the registry that was used...
2
by: techspirit | last post by:
Hello , After installing the application, if I right click on the file associated with the application and select the option "Play", it only opens the application, but does not play the file....
0
by: pek | last post by:
First Question: OK, I know how to make a simple file association with the registry. What I can't figure out is how do I fetch multiple files. So far I managed to add to the context menu an "Add to...
0
by: tcomer | last post by:
I'm creating a setup and deployment application that will ultimately install some prerequisites, a windows application, and then transfer a file to a handheld device. The setup process works fine...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.