By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,681 Members | 1,338 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,681 IT Pros & Developers. It's quick & easy.

Deployment Issue

P: n/a
My application is run within an intranet environment and is installed on client machines. Each time the application is executed, it checks to see if a newer version is availble. If there is, it launches a new process and starts the installation while shutting down the original process. I'm running into some issues, however

1) A duplicate shortcut is being created on the desktop. That is, when the older version of the app is removed, its shortcut is not being deleted
2) The installer does not seem to check whether an instance of the older application is already running
3) On uninstall, directories and files not initially installed with the app (residing within the app directory) are not being deleted. How do I incorporate a script in the Deployment project to accomplish a full, clean removal

I appreciate any assistance.
Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
You are using Windows Installer in a way that wasn't intended, i.e. leaving
the app up and running while effectively replacing it.

2) It's not the installer's job to do that, per se, though it does have
some "locked" file checking. I'm not sure exactly how that works.
3) It is by design, so that User's data/documents, aren't accidentally
removed. Only files that were intsalled are uninstalled. You could write a
custom action to clear out a directory on uninstall if you like.

---
David Guyer - VBQA Deployment Testing
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
Thread-Topic: Deployment Issue
thread-index: AcP2WfGEmVxlYumbROaNAfkspipx7w==
X-Tomcat-NG: microsoft.public.dotnet.languages.vb
From: =?Utf-8?B?TWFydHkgQ3J1aXNl?= <an*******@discussions.microsoft.com>
Subject: Deployment Issue
Date: Wed, 18 Feb 2004 12:01:06 -0800
Lines: 7
Message-ID: <24**********************************@microsoft.co m>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.languages.vb
Path: cpmsftngxa07.phx.gbl
Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.languages.vb:182532
NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
X-Tomcat-NG: microsoft.public.dotnet.languages.vb

My application is run within an intranet environment and is installed on client machines. Each time the application is executed, it checks to see
if a newer version is availble. If there is, it launches a new process and
starts the installation while shutting down the original process. I'm
running into some issues, however:

1) A duplicate shortcut is being created on the desktop. That is, when the
older version of the app is removed, its shortcut is not being deleted.
2) The installer does not seem to check whether an instance of the older
application is already running.
3) On uninstall, directories and files not initially installed with the app
(residing within the app directory) are not being deleted. How do I
incorporate a script in the Deployment project to accomplish a full, clean
removal?

I appreciate any assistance.


Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.