|
-
Sep 2nd, 2005, 05:01 AM
#1
Thread Starter
Lively Member
[RESOLVED] Deployment Projects
All of my front-end applications are now being developed using VS.NET 2002, coding in VB.NET. Rather than going through the endless hassle of setting up trusts on each of the PCs, I'm using a Setup Project to automatically deploy the latest versions of my apps onto the local machine, via a batch file that is called from the login script.
The problem that I have discovered is that, whilst this approach works a treat when it comes to deployment of new or updated applications, I haven't yet found a similar way to "undeploy" an application. Some of our clients only use us for short periods of time, after which the application becomes redundant.
Is there an option available that would enable me to build something that would check for the existence of a deployed project, and uninstall it using the local user's account?
TIA
-
Sep 2nd, 2005, 09:01 AM
#2
Re: Deployment Projects
You could copy the executable to your client deployed directory.
Regards
Jorge
"The dark side clouds everything. Impossible to see the future is."
-
Sep 2nd, 2005, 10:07 AM
#3
Thread Starter
Lively Member
Re: Deployment Projects
Eh? How does that then remove the deployed project?
-
Sep 2nd, 2005, 10:20 AM
#4
Re: Deployment Projects
 Originally Posted by uk_codemonkey
Eh? How does that then remove the deployed project?
Just make a normal setup on the client PC. Then EVERYTIME you modify your project just copy your /Bin directory to the client PC installation directory.
Regards
Jorge
"The dark side clouds everything. Impossible to see the future is."
-
Sep 2nd, 2005, 10:35 AM
#5
Re: Deployment Projects
Asgorath, that *still* doesn't say how to "undeploy" the app -- not REdeply.... but rather the reverse.
I don't think there is a way to do that short of having them run the uninstall (add/remove programs ala Control Panel.)
Hmmm.... a logion batch file? Try running the set up, but with -u or /u as a parameter..... I think that will invoke the uninstall process.
-tg
-
Sep 2nd, 2005, 10:48 AM
#6
Thread Starter
Lively Member
Re: Deployment Projects
Hi Techgnome
That has resolved the issue. The correct syntax for this is:
MSIEXEC /uninstall <application.msi>
I can now deploy short-term projects, safe in the knowledge that they can be killed afterwards. I had a horrible feeling that I had unwittingly destined the company to have computers filled with thousands of redundant apps.
-
Sep 2nd, 2005, 10:58 AM
#7
Re: Deployment Projects
My solution would avoid the your problem of having the computers filled with thousands of redundant apps because you only setup ONCE and just update the exe when you make a change...
Regards
Jorge
"The dark side clouds everything. Impossible to see the future is."
-
Sep 2nd, 2005, 11:35 AM
#8
Re: Deployment Projects
Asgorath.... the deployment wasn't the problem.... REMOVING the apps once done was the issue. While it would have avoided having multiple apps lying about, it did have one major drawback.... what if two of them needed to be deployed together? And those two replaces 5 existing apps that now need to be removed? Still same problem. Now that we've figured out how to run the uninstall, problem solved!
-tg
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|