wraith821
asked on
Windows Installer/Visual Studio Installer - Prevent File reinstall
Hello experts.
I hope you can help.
I have a program that i have packaged with Visual Studio Installer. In the setup package i want to include files that may or may not be used. the files packaged with the installer include some reports. In the program the reports come up in a listbox that allows the user to select the report he/she wants to run. Some of these reports will never be used and therefore could be removed from the list.
However, when i rename or delete the report, windows installer wants to put the file back.
is there some way to prevent this. can i set an option in the installer build environment in interdev for each file i want to behave this way, or do i have to edit the package with orca after it is build, and if so what do i edit.
Thanks in advance.
I hope you can help.
I have a program that i have packaged with Visual Studio Installer. In the setup package i want to include files that may or may not be used. the files packaged with the installer include some reports. In the program the reports come up in a listbox that allows the user to select the report he/she wants to run. Some of these reports will never be used and therefore could be removed from the list.
However, when i rename or delete the report, windows installer wants to put the file back.
is there some way to prevent this. can i set an option in the installer build environment in interdev for each file i want to behave this way, or do i have to edit the package with orca after it is build, and if so what do i edit.
Thanks in advance.
I think you need to ask this in vb.net or one of the .net group because you are using MSI. I wish I had the answer you need because I had a similar problem but isn’t that the whole point of using the MSI. I thought the Window Installer keeps track of what files were installed and if it becomes missing then it will copy a new file to replace the missing one or wrong version. I have a lot to learn when this company switches to MSI.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Fosterjo - I have been working on this for three weeks and i had no idea it was that simple. Thank You
Matti - i gave you 20 points for suggesting an uninstall because it would have kept me wondering why Fosterjo's suggestion wasn't working.
Great Job Both of you. i wish there were more points to give. but i only have 500.
Matti - i gave you 20 points for suggesting an uninstall because it would have kept me wondering why Fosterjo's suggestion wasn't working.
Great Job Both of you. i wish there were more points to give. but i only have 500.