{"id":202,"date":"2010-03-12T08:50:24","date_gmt":"2010-03-12T13:50:24","guid":{"rendered":"https:\/\/www.tmurgent.com\/TmBlog\/?p=202"},"modified":"2013-04-06T11:59:16","modified_gmt":"2013-04-06T15:59:16","slug":"the-case-of-app-v-4-6-duplicate-package-guids","status":"publish","type":"post","link":"https:\/\/www.tmurgent.com\/TmBlog\/?p=202","title":{"rendered":"The Case of App-V 4.6 Duplicate Package GUIDs"},"content":{"rendered":"<p>When the App-V sequencer creates a GUID for the package that needs to be unique.\u00a0 If somehow two packages get the same GUID, you will run into an error at deployment and need to re-sequence.<\/p>\n<p>In older releases,\u00a0people\u00a0would run into this issue if they took a VM snapshot with the sequencer up and running.\u00a0 Typically, they create the VM, install the sequencer launch it and then take the snapshot.\u00a0 A long time ago, this GUID was generated when the sequencer started, so the snapshot captured it and you got a duplicate.\u00a0 Then Microsoft changed the GUID to be generated when you started the sequence, so as long as you didn&#8217;t do the &#8220;file new&#8221; before the snapshot you were OK.<\/p>\n<p>It seems that Microsoft has changed how and when this GUID is generated in 4.6.\u00a0 I ran into this in my lab this week and traced it down.<\/p>\n<p>Normally, I take a VM snapshot without the sequencer, and then a second with the sequencer installed but not running (old habbits die hard).\u00a0 But this week I have been reverting to the VM without sequencer, installing it and sequencing each time.\u00a0 At the end of the sequencer install is an option to launch the sequencer from the installer.\u00a0 It appears that if you use this option the Package GUID you get will be duplicated, if you revert the VM, install the sequencer and have the sequencer installer launch the sequencer.\u00a0 For detail, even though the package GUID is duplicated, the package version GUID is different.\u00a0<\/p>\n<p>I verified that not having the installer launch the sequencer solves the issue, your package gets a different GUID.\u00a0\u00a0 So you are forwarned:<\/p>\n<h3 style=\"text-align: center;\"><span style=\"color: #800000;\">Don&#8217;t let the sequencer installer launch the sequencer for you!<\/span><\/h3>\n","protected":false},"excerpt":{"rendered":"<p>When the App-V sequencer creates a GUID for the package that needs to be unique.\u00a0 If somehow two packages get the same GUID, you will run into an error at deployment and need to re-sequence. In older releases,\u00a0people\u00a0would run into this issue if they took a VM snapshot with the sequencer up and running.\u00a0 Typically,&hellip; <a class=\"more-link\" href=\"https:\/\/www.tmurgent.com\/TmBlog\/?p=202\">Continue reading <span class=\"screen-reader-text\">The Case of App-V 4.6 Duplicate Package GUIDs<\/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,48],"tags":[4],"class_list":["post-202","post","type-post","status-publish","format-standard","hentry","category-all","category-appv4","category-sequencing","tag-app-v","entry"],"_links":{"self":[{"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=\/wp\/v2\/posts\/202","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=202"}],"version-history":[{"count":4,"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=\/wp\/v2\/posts\/202\/revisions"}],"predecessor-version":[{"id":363,"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=\/wp\/v2\/posts\/202\/revisions\/363"}],"wp:attachment":[{"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=202"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=202"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tmurgent.com\/TmBlog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=202"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}