473,231 Members | 1,619 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,231 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 1566
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: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
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...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...

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.