473,486 Members | 2,407 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Automatize generation new version (Publish) using WinForms app

Hi misters
USING VS 2005 in XP, VB.NET, CLICK ONCE

I have a Publish of my application, AdministradorWin.exe, in a folder
D:\ClickOnce\instalacionExpedienteElectronico (of a server in my LAN).

I have this files as results of Publish:

setup.exe

publish.htm

CertBackup.pfx

AdministradorWin_1_0_0_0.application

AdministradorWin_1_0_0_1.application

AdministradorWin.application

Folders for prerrequisites:

dotnetfx

grupobackup.registrarocx

netfx30

reportviewer

Folder AdministradorWin_1_0_0_0

AdministradorWin.exe.deploy

AdministradorWin.exe.config.deploy

AdministradorWin.exe.manifest

ALHE.Data.dll.deploy

.....

Folder AdministradorWin_1_0_0_1

AdministradorWin.exe.deploy

AdministradorWin.exe.config.deploy

AdministradorWin.exe.manifest

ALHE.Data.dll.deploy

.....

Now, I want to do this:

1. Create another WinForms Application, called ConfiguratorPublish.exe

2. ConfiguratorPublish app need open last CONFIG of Publish, in this case:

Folder AdministradorWin_1_0_0_1 and file AdministradorWin.exe.config.deploy

3. Modify AdministradorWin.exe.config.deploy and save it in some folder temp
***

4. Try using Process.Start() for call mage.exe to generate New Version
1.0.0.2

AdministradorWin_1_0_0_2.application NEW

AdministradorWin.application MODIFIED

Folder AdministradorWin_1_0_0_2 NEW

AdministradorWin.exe.deploy

AdministradorWin.exe.config.deploy MODIFIED (copy from temp folder ***)

AdministradorWin.exe.manifest

ALHE.Data.dll.deploy

.....

Questions:

1. In my ConfiguratorPublish.exe app, how can I know the last Publish
version of AdministradorWin.exe app??

2. How can I using mage.exe to generate new version 1.0.0.2, I need steps,
step by step, please

3. ANY help will be very grateful for do this, please, any sample code or
comments will be gold for me.

Thanks in advanced. Your help will be very grateful and appreciated.
--
http://www.alhambra-eidos.es/web2005/index.html
www.kiquenet.com/churrosoft
http://www.setbb.com/putainformatica...opic.php?p=843
www.trabajobasura.com/solusoft

Oct 29 '08 #1
0 1411

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

Similar topics

0
330
by: dtsearch | last post by:
Press Contact: Belinda Banks S&S Public Relations (212) 946-2823 Belinda@sspr.com Announcing New dtSearch® Product Line Version Release Enhances Indexing, Searching and Display of MS Word,...
8
5409
by: | last post by:
Wel, I am rebuilding the VC# 2002 project that I have deployment problems with the 2003 version, hoping this solves the problems, but now I encounter this wierd bug??? If I have the project, and...
3
1471
by: Josema | last post by:
Hi, I have a web application, that takes from excel a range of rows and columns... The method that gets the data in the ranges returns an Array of two dimensions with the data... Then i...
4
6359
by: Mike L | last post by:
Error occurs on "System.Deployment.Application.ApplicationDeployment.CurrentDeployment" ** Here is my code private void frmMain_Load(object sender, System.EventArgs e) {...
1
3473
by: Thomas Qvist | last post by:
We are building a suite of programs consisting of both winforms applications and office addins. We would like to pre-generate the xml-serialization classes and add it to our project to avoid...
0
3157
by: Felix | last post by:
Ok, I've had this issues since yesterday and I cannot figure out what's causing it. Basically, I have a Visual Studio 2005 Web Service. The service runs completely find on my local development...
1
5545
by: theWizard1 | last post by:
Using Asp.NET 2.0. I published my web application to the server using the publish to website feature of asp.net 2.0. In VS.Net 2005 IDE, on solution explorer, at top level just below solution, I...
2
3684
by: Vayse | last post by:
On my Help/About screen, I'd like to display 1) The version number, as it appears in the Publish screen. 2) The version number of the Report Viewer control. How would I do this? Thanks Vayse
6
13158
by: Aussie Rules | last post by:
Hi, I use the publish feature within Vs.net 2008, and have it set to increment on each build/publish I want to be able to display this as my application version number, but can not see how to...
0
7100
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6964
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
7126
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
7175
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6842
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...
1
4865
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4559
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1378
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
262
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.