473,386 Members | 1,828 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,386 software developers and data experts.

File association & Setup

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
cz****@wsinc.com
Nov 16 '05 #1
4 2377
Hello Felix,

I am removing the key path information by using orca but I am
wondering if I am including several files for example 50 files then
it would be a lot of work to remove that information. Is there any
quick way? One solution may be if I remove the key path information
of the folder where those files are being copied.

Regards,
Rahid

*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*
Nov 16 '05 #2
This can be done within Visual studio.
To get MSI to not repair select the file in the setup project and
change Condition = NOT REINSTALL so that the file will not get reinstalled
on a repair and its Transitive = TRUE so that the condition is re-evaluated.
You can multi select the files and do this all at once.
Also note the installer will flash on the screen the first time tha
pplication is launched with a shortcut after a file has been deleted while
it evaluates the condition but nothing will be installed.

Todd Derksen
--------------------
Visual Basic Deployment Test Team
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
Subject: Resiliency
From: ra********@ultranovacoding-dot-com.no-spam.invalid (rashidawan2000)
Newsgroups: microsoft.public.dotnet.languages.csharp
Hello Felix,

I am removing the key path information by using orca but I am
wondering if I am including several files for example 50 files then
it would be a lot of work to remove that information. Is there any
quick way? One solution may be if I remove the key path information
of the folder where those files are being copied.

Regards,
Rahid

*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*


Nov 16 '05 #3
Hello Todd,

Thanks for your help. I am wondering I am still having the same
problem even though I have put the value "NOT REINSTALL" against
condition property and TRANSITIVE = TRUE.
Another thing which I am experiencing is when I move a file and try to
launch the application it doesn't only launch the installer window
again but also remove all the files with the property "Not Reinstall"
and Transitive=TRUE.

Regards,
Rashid

*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*
Nov 16 '05 #4
Rashid, sorry it took me so long to get back to you.
I do not understand why the solution I provided is not working for you.
I will clarify a couple points NOT REINSTALL is case sensitive
also the property has to be set on the files not the folders.

If this still does not work for you please reply to this message with a
further explanation of your problem.

Todd Derksen
--------------------
Visual Basic Deployment Test Team
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
Subject: Same Problem

Hello Todd,

Thanks for your help. I am wondering I am still having the same
problem even though I have put the value "NOT REINSTALL" against
condition property and TRANSITIVE = TRUE.
Another thing which I am experiencing is when I move a file and try to
launch the application it doesn't only launch the installer window
again but also remove all the files with the property "Not Reinstall"
and Transitive=TRUE.

Regards,
Rashid

*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*


Nov 16 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

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...
2
by: Ven | last post by:
does anyone know where the docs are (or sample code) to register an extension so that FileExplorer launches your application when the user double clicks your file? i havent seen this in the...
2
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: 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...
4
by: PJ6 | last post by:
How do I, in my (2005) application, cause a file with a certain extention to be associated with my application? Paul
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....
28
by: Tim Daneliuk | last post by:
I have a program wherein I want one behavior when a file is set as executable and a different behavior if it is not. Is there a simple way to determine whether a given named file is executable...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.