472,802 Members | 1,339 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,802 software developers and data experts.

Deploying VB 2005 applications via .MSI?

Is there any way to save a VB 2005 created application as an .MSI install
file? The only method I see is to publish as a .EXE. Curious because I
want to push out an application with Group Policy.

Thanks,
Ryan
Jan 16 '07 #1
6 5452
"Ryan" <Ty****@newsgroups.nospamschrieb:
Is there any way to save a VB 2005 created application as an .MSI install
file? The only method I see is to publish as a .EXE. Curious because I
want to push out an application with Group Policy.
Create a setup project for your application which contains the executable
file. This setup project's output file is in MSI format.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Jan 17 '07 #2
Hello Ryan,

As Tim has suggested, you can create a setup project (in the same solution)
which dedicated to creating the install program(exe and msi) package for
your VS 2005 application(actually this is available in VS 2003) also. Here
is a walkthrough article:

#Walkthrough: Deploying a Windows Application
http://msdn.microsoft.com/library/en...atinginstaller
foryourapplication.asp?frame=true

and one cool feature of VS 2005 is that it provide built-in bootstrapper
support (existing ones or add our custom ones), this can help our setup
program conveniently add any prerequistis components:

#Authoring a Custom Bootstrapper Package for Visual Studio 2005
http://msdn2.microsoft.com/en-us/lib...39(vs.80).aspx

In addition, here is a FAQ article about deploying a VB.NET application:

#Deploying Visual Basic .NET Applications (March 22, 2005)
http://msdn.microsoft.com/chats/tran..._dn_vbnet.aspx

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.

==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.




Jan 17 '07 #3
Thanks everyone for the quick responses. This should work just fine.

"Steven Cheng[MSFT]" <st*****@online.microsoft.comwrote in message
news:po**************@TK2MSFTNGHUB02.phx.gbl...
Hello Ryan,

As Tim has suggested, you can create a setup project (in the same
solution)
which dedicated to creating the install program(exe and msi) package for
your VS 2005 application(actually this is available in VS 2003) also. Here
is a walkthrough article:

#Walkthrough: Deploying a Windows Application
http://msdn.microsoft.com/library/en...atinginstaller
foryourapplication.asp?frame=true

and one cool feature of VS 2005 is that it provide built-in bootstrapper
support (existing ones or add our custom ones), this can help our setup
program conveniently add any prerequistis components:

#Authoring a Custom Bootstrapper Package for Visual Studio 2005
http://msdn2.microsoft.com/en-us/lib...39(vs.80).aspx

In addition, here is a FAQ article about deploying a VB.NET application:

#Deploying Visual Basic .NET Applications (March 22, 2005)
http://msdn.microsoft.com/chats/tran..._dn_vbnet.aspx

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.

==================================================

This posting is provided "AS IS" with no warranties, and confers no
rights.




Jan 17 '07 #4
Well I spoke too soon :) What I am trying to do is push out a 3rd party
..EXE installation file via Group Policy. So my VB 2005 application should
do nothing but kick off the .EXE. I have an application that does this.
However, once I put it in an .MSI file my program must be installed and ran.
So technically it's installing 2 programs. Not sure if this is even
possible.

"Ryan" <Ty****@newsgroups.nospamwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
Thanks everyone for the quick responses. This should work just fine.

"Steven Cheng[MSFT]" <st*****@online.microsoft.comwrote in message
news:po**************@TK2MSFTNGHUB02.phx.gbl...
>Hello Ryan,

As Tim has suggested, you can create a setup project (in the same
solution)
which dedicated to creating the install program(exe and msi) package for
your VS 2005 application(actually this is available in VS 2003) also.
Here
is a walkthrough article:

#Walkthrough: Deploying a Windows Application
http://msdn.microsoft.com/library/en...atinginstaller
foryourapplication.asp?frame=true

and one cool feature of VS 2005 is that it provide built-in bootstrapper
support (existing ones or add our custom ones), this can help our setup
program conveniently add any prerequistis components:

#Authoring a Custom Bootstrapper Package for Visual Studio 2005
http://msdn2.microsoft.com/en-us/lib...39(vs.80).aspx

In addition, here is a FAQ article about deploying a VB.NET application:

#Deploying Visual Basic .NET Applications (March 22, 2005)
http://msdn.microsoft.com/chats/tran..._dn_vbnet.aspx

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

================================================= =

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent
issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each
follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.

================================================= =

This posting is provided "AS IS" with no warranties, and confers no
rights.





Jan 17 '07 #5
Thanks for your reply Ryan,

Well, I've got your actual concern here. Since the "exe" setup has been
well packaged by 3rd party, it would be hard to unpack it since it is
purely a binary file. Yes, you're right that directly use a new setup
project(and call the exe in the setup project) will result to two installed
programs. I'm not sure how is the 3rd party originally produce the
setup.exe package, but you can try launch the setup.exe and look for a
temporary msi file in your temp folder(%tmp%). This trick is mentioned in
the following thread:

http://www.msfn.org/board/lofiversio...php/t9632.html

You can try it to see whether this works.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

This posting is provided "AS IS" with no warranties, and confers no rights.

Jan 18 '07 #6
Thank you Steven. Your trick worked perfectly and we are now in the process
of pushing out the 3rd party software via Group Policy.

Ryan

"Steven Cheng[MSFT]" <st*****@online.microsoft.comwrote in message
news:FY**************@TK2MSFTNGHUB02.phx.gbl...
Thanks for your reply Ryan,

Well, I've got your actual concern here. Since the "exe" setup has been
well packaged by 3rd party, it would be hard to unpack it since it is
purely a binary file. Yes, you're right that directly use a new setup
project(and call the exe in the setup project) will result to two
installed
programs. I'm not sure how is the 3rd party originally produce the
setup.exe package, but you can try launch the setup.exe and look for a
temporary msi file in your temp folder(%tmp%). This trick is mentioned
in
the following thread:

http://www.msfn.org/board/lofiversio...php/t9632.html

You can try it to see whether this works.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

This posting is provided "AS IS" with no warranties, and confers no
rights.

Jan 19 '07 #7

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

Similar topics

2
by: pieter.breed | last post by:
Hi All, The company I work for has traditionally used COM/ActiveX for the solutions that it provides. We are in the process of moving to .NET and a few applications have been written in VB.NET...
1
by: Mister_d | last post by:
When deploying a solution using the Access 2003 runtime engine, do you have to use the packaging wizard that comes with the Access 2003 Developer Extentions, or can you use other packaging software...
10
by: Gerben van Loon | last post by:
Hi there, hope someone can help me on this: I'm planning to deploy several ASP.NET projects to a production server. Normally I used the "Project / Copy project" option in VS.NET, but to this...
5
by: Bill | last post by:
I have a asp.net application that shares DLL's with some backend vb.net programs. In my test environment everything works like a champ. When I need a DLL I point in to the project, do the build and...
4
by: Jason James | last post by:
Hi all, I am developing an ASP.NET app that will be deployed into a mixed NT4 & W2K domain. The PDC is running NT4 (I know we should have upgraded by now and it is on the cards but this is...
10
by: Bryan Dickerson | last post by:
I fairly have my Web Service working the way that I want, so my next step will be to deploy it on a server. Do I just add a deployment/install project, build it and install it on the server? ...
0
by: steve | last post by:
H I new in deploying applications with visual studio 2005. I've used the setup wizard for a project when the user deploys the project I need to now where the user has put it. (path of the...
8
by: =?Utf-8?B?V2hpc2tleVJvbWVv?= | last post by:
I am trying to copy files and folders onto a production machine (Windows 2003 web edition -- we had to install the .NetFramework 2.0 on it). I wasn't even sure which files to copy for a ASP.NET...
6
by: =?Utf-8?B?anAybXNmdA==?= | last post by:
Using Visual Studio 2005, I have created 4 small DLLs that our company projects can use to access common tools included in each of the separate DLL files. Our Visual Studio 2005 applications...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.