Wrox Programmer Forums
|
BOOK: Professional Outlook 2007 Programming ISBN: 978-0-470-04994-5
This is the forum to discuss the Wrox book Professional Outlook 2007 Programming by Ken Slovak; ISBN: 9780470049945
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Outlook 2007 Programming ISBN: 978-0-470-04994-5 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 20th, 2007, 01:52 PM
Wrox Author
 
Join Date: Sep 2007
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No idea offhand, but when I do a scripted installation I use msiexec.exe to run it. That's how you usually automate Windows Installer. See http://support.microsoft.com/kb/227091 for a list of msiexec command line switches.

I usually don't use the installer from Visual Studio to build most of my installation packages, I usually use InstallShield for that. With InstallShield I end up with one setup.exe package that includes the addin.msi file. So I don't end up with separate setup.exe and addin.msi files. You can see if setup.exe can be automated using msiexec, if not you can always automate the msi file that's also generated. I believe that eliminates a number of the bootstrap checks done by setup.exe, so that may not work for you.


Ken Slovak
 
Old December 20th, 2007, 02:15 PM
Authorized User
 
Join Date: Aug 2004
Posts: 95
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Arsi
Default

Ok Thanks! Since the setup.exe file contains all the packages needed before the installation of the addin can take place such as the .net framework 2.0, the patch for that, VSTO 2005 SE runtime, and the PIA's for Office 2003, I can't just run the .msi file can I? Also, these don't work with the /quiet switch do they?

Thanks again...

Arsi

*******(*)*******
 
Old December 20th, 2007, 03:17 PM
Wrox Author
 
Join Date: Sep 2007
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If the pre-requisites and requirements are already installed you don't need the setup.exe program, you can just run the MSI file to install the addin. If you might need those pre-requisites and requirements to be installed you would need the setup.exe program or an equivalent.

I'm not sure about automating setup.exe, as I mentioned. I've never tried it and usually use InstallShield myself in most cases, again as mentioned.

You probably can do some searching on the Web about automating installations created by Visual Studio and see what that turns up.


Ken Slovak
 
Old December 20th, 2007, 03:22 PM
Authorized User
 
Join Date: Aug 2004
Posts: 95
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Arsi
Default

Okay. Great! Thanks for ALL your help.

Arsi

*******(*)*******





Similar Threads
Thread Thread Starter Forum Replies Last Post
device DLL programming in client side programming hendyhanusin ASP.NET 1.0 and 1.1 Professional 2 February 19th, 2009 12:01 PM
device DLL programming in client side programming hendyhanusin ASP.NET 1.0 and 1.1 Basics 0 March 21st, 2007 08:05 AM
device DLL programming in client side programming hendyhanusin ASP.NET 2.0 Professional 1 March 21st, 2007 08:04 AM
Outlook programming, no GetNamespace DanRoche C# 2 July 27th, 2006 11:08 AM
Professional Outlook 2000 Programming Colinspurs Wrox Book Feedback 3 August 17th, 2004 10:32 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.