{"id":456,"date":"2011-07-24T16:09:41","date_gmt":"2011-07-24T20:09:41","guid":{"rendered":"https:\/\/www.tmurgent.com\/TmBlog\/?p=456"},"modified":"2013-04-06T11:50:01","modified_gmt":"2013-04-06T15:50:01","slug":"app-v-4-6sp1-sequencing-diff-between-install-and-configure","status":"publish","type":"post","link":"https:\/\/www.tmurgent.com\/TmBlog\/?p=456","title":{"rendered":"App-V 4.6SP1 Sequencing: Diff between Install and Configure"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/www.tmurgent.com\/TmBlog\/wp-content\/uploads\/2011\/07\/avatar.png\"  width=\"128\" align=\"LEFT\" \/><b>I ran into an interesting problem with 4.6SP1 while sequencing the application 7-Zip today. <\/b><\/p>\n<p> If you have been at all familiar with App-V sequencing at any time prior to the 4.6 SP1, you would know that while you are in the &#8220;installation mode&#8221; with the sequencer, you not only install the application but you fully configure and customize the application at that time.<\/p>\n<p>One issue with this is that sometimes the start menu shortcuts do not work inside the sequencer (although they are captured and will work at the client).  So to run those apps in installation mode, you would have to manually find the installed program and launch it by hand.<\/p>\n<p>To eliminate this shortcut problem and make sequencing easier in 4.6 SP1, Microsoft created a secondary monitoring mode, so that we now have an &#8220;Install&#8221; monitoring mode and a separate &#8220;Configure Software&#8221; monitoring mode.  <i>The latter has a sequencer GUI description about managing &#8220;first use tasks&#8221;, &#8220;configuring license agreements&#8221;, &#8220;setting user preferences&#8221;, and &#8220;disabling automatic updates&#8221;.<\/i>  Microsoft has never defined exactly what the differences are in how change detected in these two modes are handled, implying that it makes no difference.  Well, it turns out that <strong>sometimes it does<\/strong>!<\/p>\n<p>One difference between these two modes that I have noticed, is that at the end of install mode, everything gets parsed and VFS&#8217;d, and any Run-Once commands are applied.  Some of the effects of the mode difference that I have noticed are listed below:<\/p>\n<ol>\n<li>If the installer did not create a shortcut somewhere, there will be nothing for you to run in the customization mode.  In this case, it is necessary to manually create the shortcut while in the installation mode.<\/li>\n<li>If the application GUI allows customization of File-Type-Associations (FTAs) separate from the installer, you must set all FTAs while in installation mode.<\/li>\n<li>If further installation is needed after the Run-Once are processed, you will need to create a dummy shortcut to either the cmd prompt or windows explorer while in installation mode so that you can get access to perform further install activity during configuration mode.  You would then remove this shortcut in the application editor of the sequencer later on.<\/li>\n<\/ol>\n<p>The second issue was found specifically in sequencing the application 7-Zip.  This application installer creates no FTAs upon install.  Instead, you must run the application and use the configuration option to select the file types you want associated.  If you wait until the sequencer customization mode to make these changes, the software will think the associations have been made, and the registry changes for HKLM\\Software\\Classes are captured inside the virtual environment, however the external package publishing information will not include the FTAs.<\/p>\n<p>I usually customize sequenced applications in install mode because I am just plain used to doing it then.  Earlier today I was sequencing 7-Zip, and I happened to forget to do the FTA during the installation mode and tried it during configuration.  Thus I finally noticed the impact.  I think I will stay with installation mode customization (unless a virtual reboot is needed) in the future.<\/p>\n<p>It would be really nice if Microsoft documented the differences.  I am sure there are more than I noted above.  In particular, I would expect there are differences in the file update settings (&#8220;Application&#8221; versus &#8220;User&#8221; mode) and possibly transparency (&#8220;Merge with Local&#8221; versus &#8220;Override Local&#8221;) and these need to be re-documented.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I ran into an interesting problem with 4.6SP1 while sequencing the application 7-Zip today. If you have been at all familiar with App-V sequencing at any time prior to the 4.6 SP1, you would know that while you are in the &#8220;installation mode&#8221; with the sequencer, you not only install the application but you fully&hellip; <a class=\"more-link\" href=\"https:\/\/www.tmurgent.com\/TmBlog\/?p=456\">Continue reading <span class=\"screen-reader-text\">App-V 4.6SP1 Sequencing: Diff between Install and Configure<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[36,35,47,48],"tags":[4],"class_list":["post-456","post","type-post","status-publish","format-standard","hentry","category-all","category-appv4","category-appv5","category-sequencing","tag-app-v","entry"],"_links":{"self":[{"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=\/wp\/v2\/posts\/456","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=456"}],"version-history":[{"count":19,"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=\/wp\/v2\/posts\/456\/revisions"}],"predecessor-version":[{"id":1458,"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=\/wp\/v2\/posts\/456\/revisions\/1458"}],"wp:attachment":[{"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=456"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=456"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=456"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}