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

Deploying VB 2005 applications via .MSI?

P: n/a
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
Share this Question
Share on Google+
6 Replies


P: n/a
"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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.