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

Installer getting triggered when files are moved.

I am not really sure what news group this should be posted to. It has to do
with a visual studio install project for a c# application.
We have noticed that if any of the files installed by the installer are
moved or deleted that this automatically triggers the installer the next
time the application is started.

While this would appropriate if the file in question were an executable, the
files are actually report files. Clients want to be able to choose new
loacations for these files, but cannot do so without causing installer to be
involked. We do not know how this feature got set or how to disable it for
the report files.

Worse yet, if we allow the installer to completion the install fails and the
installer dutifully removes all the install files including the reports.

Can someone give me guidance as to how to fix this?

--
Henry Stock,
onProject.com
3 Wing Drive
Cedar Knolls, NJ 07927-1006
Nov 17 '05 #1
1 1574
On Fri, 9 Sep 2005 14:09:40 -0400, "Henry Stock"
<hs****@onproject.com> wrote:
I am not really sure what news group this should be posted to. It has to do
with a visual studio install project for a c# application.
We have noticed that if any of the files installed by the installer are
moved or deleted that this automatically triggers the installer the next
time the application is started.

While this would appropriate if the file in question were an executable, the
files are actually report files. Clients want to be able to choose new
loacations for these files, but cannot do so without causing installer to be
involked. We do not know how this feature got set or how to disable it for
the report files.

Worse yet, if we allow the installer to completion the install fails and the
installer dutifully removes all the install files including the reports.

Can someone give me guidance as to how to fix this?


This is and MSI (Windows Installer) issue. I'm not sure how VS sets
up a package so it is MSI compliant but you may want to review whether
you want to have these reports available at install time or just let
the program create them when necessary. I suspect that they are being
bundled into the installer as protected files. Explore the installer
stuff from within Visual Studio. I think you can get access to the
install tree. You may also be able to get access to properties that
are going to be applied at install time. If you can you want to set
these files to be relocateable at install time by the user at a
minimum. If they are going to be overwritten with new user data as
the program runs over time you may not want them protected. The MSI
protection mechanism is designed to save the user from themselves and
will replace deleted files. The property you are probably looking for
in MSI/InstallShield terms is whether the file is a key file or not.

Ken Wilson
Seeking viable employment in Victoria, BC
Nov 17 '05 #2

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

Similar topics

4
by: Bill Murray | last post by:
I am using VS.NET 2003 and trying to deploy a service program(c++) to a Windows 2000 Server system. I have also written a small DLL (USSsetup.dll) that is used to start/stop the service using a...
5
by: Arun Bhalla | last post by:
I'm working with VS.NET 2003 and .NET 1.1 (not SP1) on Windows XP SP1. My application is using the Windows Installer Bootstrap. (I may have also installed a module which detects requirements (.NET...
0
by: Arun Bhalla | last post by:
I'm having some inconsistency problems with my deployment project ("Setup") and its custom actions ("Installer"). I'm using Visual Studio .NET 2003 (.NET 1.1, no service pack) on Windows XPSP1. ...
0
by: Henry | last post by:
I am not really sure what news group this should be posted to. It has to do with a visual studio install project for a c# application. We have noticed that if any of the files installed by the...
3
by: Brian Henry | last post by:
This has worked perfectly for the past year now all the sudden it will not compile the installer project correctly. All our source code is in a Source Safe database so every system we do this on...
5
by: jcrouse | last post by:
I saw an article, once, on how to package image file in the installer so they are not accessible to the end user. I want to say hidden, but I don't just mean the file attribute of the image file....
0
by: stevebarker | last post by:
Hi guys, I've got a quick question about installers in .NET. Any advice would be gratefully received! I'm writing a .NET Windows application that needs an installer. I'd really like the set...
3
by: mistral | last post by:
Not sure is this correct place for my question (i am not a programmer): I have some sofware packed into installer, file version: 2.11.15.0, in file properties shown "SFX CAB archive", name...
0
by: bobneedshelp | last post by:
Is it possible through an install to run a script to disable a service and then install the files in VB.NET? I've tried using an installer class with the custom actions and that is not working....
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
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.