Wrox Programmer Forums
|
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 14th, 2005, 08:08 AM
Registered User
 
Join Date: Apr 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to adriaan@parity.co.za
Default File deployment in .Net

Hi,

I am quite new to .Net and I'm battling with deployment.

I have a solution that contains a dll project, a deployment project and a bunch of other files. One of the files that I am deploying is renamed after insatllation.
The installation gives no problems, but when the dll is referenced it sees (somehow) that the one file does not exist anymore (because it has been renamed) and launches the install wizard to recreate the file.

Any ideas on how to prevent this? I have tried to toggle the properties of the file in the deployment project with no success.

Thanks

Adriaan Davel
Parity Software
 
Old April 14th, 2005, 08:24 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Any idea what is causing the rename?
 
Old April 18th, 2005, 06:23 AM
Registered User
 
Join Date: Apr 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to adriaan@parity.co.za
Default

Thanks for the reply planoie.

The re-naming of the file is the result of a couple of complex procedures executed by an external application to which I integrate. I will not be able to aviod the re-naming or control it.
The external application will also keep re-naming the file if it is re-created, when the application is launched.


Adriaan Davel
Parity Software
 
Old April 18th, 2005, 08:47 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

If the renaming of the file is out of your hands and will happen automatically then I'm not sure how you could fix it.
 
Old April 19th, 2005, 01:25 AM
Registered User
 
Join Date: Apr 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to adriaan@parity.co.za
Default

Hi planoie,

Thanks for the reply.

What I'm trying to prevent is the re-launching of the install wizard, not the renaming of the file. The renaming is correct and expected.

Basically the file is being deleted after another file is created from it.

I would like to package the original file "loosely", but it must ship with the single .msi.

Hope this clears the description of my problem up.

Adriaan Davel
Parity Software
 
Old April 19th, 2005, 08:20 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

I've never worked with creating installers so I can't be of much help.





Similar Threads
Thread Thread Starter Forum Replies Last Post
.NET Deployment vgsgowrisankar .NET Framework 2.0 6 April 25th, 2008 12:31 PM
Including .chm file in deployment Setup.exe nutrino VB How-To 1 March 23rd, 2006 09:50 AM
Deployment of Asp.net shabirmaher General .NET 1 August 8th, 2005 06:12 AM
.Net Framework Deployment tact_259 VS.NET 2002/2003 2 May 17th, 2004 09:07 AM
Can any one help me with ASP.Net Deployment kasie ASP.NET 1.0 and 1.1 Basics 0 February 5th, 2004 10:06 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.