File association & Setup

  • Thread starter Thread starter Peter
  • Start date Start date
P

Peter

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
(e-mail address removed)
 
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
*-----------------------*
 
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
 
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
*-----------------------*
 
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
 
Back
Top