473,404 Members | 2,178 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 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 5507
"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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...

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.