<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: regform and upgrading msi's</title><link>https://www.infopathdev.com:443/forums/thread/2444.aspx</link><pubDate>Thu, 25 May 2006 21:32:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2444</guid><dc:creator>Shiraz Cupala</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2444.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2444</wfw:commentRss><description>While I have never done it it is technically possible.  All the MSI regform tool does is automatically build the MSI with the right calls to the InfoPath register solution API.  You will have to build a custom MSI that checks for the presence of your existing MSI, uninstall it first, then install and call the register solution api in InfoPath to install the new form.  These MSDN articles provide the raw basics:&lt;br /&gt;&lt;br /&gt;Register Solution&lt;br /&lt;a target="_blank" href=http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ipsdk/html/xdmthRegisterSolution_HV01021404.asp&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ipsdk/html/xdmthRegisterSolution_HV01021404.asp&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Unregister Solution&lt;br /&lt;a target="_blank" href=http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ipsdk/html/xdmthUnregisterSolution_HV01021423.asp&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ipsdk/html/xdmthUnregisterSolution_HV01021423.asp&lt;/a&gt;</description></item><item><title>Re: regform and upgrading msi's</title><link>https://www.infopathdev.com:443/forums/thread/2443.aspx</link><pubDate>Tue, 23 May 2006 22:04:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2443</guid><dc:creator>Ted Fitch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2443.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2443</wfw:commentRss><description>Hi rzwahr,&lt;br /&gt;&lt;br /&gt;I think you should be able to do this - one way or another.  Not sure if regform or using the full version of the program "installshield" is going to be the final answer for you (you can get really fancy using Installshield if you want).  However, according to this article:&lt;br /&gt;&lt;br /&gt;&lt;a href='http://book.itzero.com/read/microsoft/0501/Microsoft.Press.Introducing.Microsoft.Office.InfoPath.2003.eBook-LiB_html/6844final/LiB0152.html' target='_blank' title='http://book.itzero.com/read/microsoft/0501/Microsoft.Press.Introducing.Microsoft.Office.InfoPath.2003.eBook-LiB_html/6844final/LiB0152.html'&lt;a target="_blank" href=http://book.itzero.com/read/microsoft/0501/Microsoft.Press.Introducing.Microsoft.Office.InfoPath.2003.eBook-LiB_html/6844final/LiB0152.html&gt;http://book.itzero.com/read/microsoft/0501/Microsoft.Press.Introducing.Microsoft.Office.InfoPath.2003.eBook-LiB_html/6844final/LiB0152.html&lt;/a&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;at the very least you should be able to (using jscript) make an uninstall msi &amp; a new install msi file that the users could use when you update forms.  You would send them both msi's with instructions to uninstall the old one before installing the new updated one...yes 2 seperate files, but perhaps a little easier than you unisntalling them?&lt;br /&gt;&lt;br /&gt;Have you tried using the InfoPathDev "regform command line tool" yet?  I know that there are a number of command lines within regform...perhaps that would be of some help too.&lt;br /&gt;&lt;br /&gt;hope that helps&lt;br /&gt;</description></item><item><title>Re: regform and upgrading msi's</title><link>https://www.infopathdev.com:443/forums/thread/2442.aspx</link><pubDate>Tue, 23 May 2006 22:02:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2442</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2442.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2442</wfw:commentRss><description>I'm not aware of a way (at least not using regform)... but I'm sure there probably is a way. Someone more knowledgable than myself in this area should jump in here.&lt;br /&gt;&lt;br /&gt;But one thing--why are you doing the uninstall/reinstall yourself for everyone? Post a page with instructions and have them do it themselves. That will save some time.</description></item><item><title>regform and upgrading msi's</title><link>https://www.infopathdev.com:443/forums/thread/1308.aspx</link><pubDate>Tue, 23 May 2006 14:44:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1308</guid><dc:creator>rzwahr</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1308.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1308</wfw:commentRss><description>I've got a form that I am using regform on to create an MSI file.  The form is a urn based solution.  It works great, the problem comes when I need to come out with a new version of the form.  If I try and install the new MSI, it says that it can't do so, because the form is already registered.  So I have to manually uninstall the form on each users machine before I can reinstall the new one.  This is a time consuming process.  Is there any way to create a self-upgrading MSI package that would unregister the old version, upgrade the xsn file, and then reregister the new form?  I'm thinking there should be a way to do this without too much trouble.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Ryan</description></item></channel></rss>