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

Automatize generation new version (Publish) using WinForms app

P: n/a
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
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.