<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Wortell &#187; Uncategorized</title>
	<atom:link href="http://blog.wortell.nl/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.wortell.nl</link>
	<description>Wortell</description>
	<lastBuildDate>Fri, 03 Feb 2012 13:38:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Setting permissions with your msi</title>
		<link>http://blog.wortell.nl/sanderz/setting-permissions-with-your-msi/</link>
		<comments>http://blog.wortell.nl/sanderz/setting-permissions-with-your-msi/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 14:45:28 +0000</pubDate>
		<dc:creator>SanderZ</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[msi]]></category>
		<category><![CDATA[SDDL]]></category>
		<category><![CDATA[windows installer]]></category>

		<guid isPermaLink="false">http://blog.wortell.nl/?p=4404</guid>
		<description><![CDATA[In the good old days it was quite normal to use an external VBScript which ran xacls.exe or something similar, to set permissions on files and registry keys that were included in your msi-file. Setting these permissions using the &#8216;LockPermissions&#8216; table was not recommended. One of the problems facing when you used the LockPermissions table, [...]]]></description>
			<content:encoded><![CDATA[<p>In the good old days it was quite normal to use an external VBScript which ran <em>xacls.exe</em> or something similar, to set permissions on files and registry keys that were included in your msi-file. Setting these permissions using the &#8216;<em>LockPermissions</em>&#8216; table was not recommended.</p>
<p>One of the problems facing when you used the <em>LockPermissions</em> table, was that permissions on already existing local files were simply overwritten and were not added/merged with the already existing permissions on these files. Another limitation was that it didn&#8217;t natively localized user groups based on well-known SIDs. When you e.g. were setting permissions on the &#8216;Users&#8217; group and ran the msi on a Russian Win7 system the msi would fail to install, because it didn&#8217;t know of a usergroup called &#8216;Users&#8217;. In Russian the group is called &#8216;Пользователи&#8217;. You would receive error message 1609 <span style="font-size: 9pt">&#8220;<em>An error occurred while applying security settings. Users is not a valid user or group. This could be a problem with the package, or a problem connecting to a domain controller on the network</em>. <em>Check your network connection and click Retry.</em>&#8220;</span> There was a way to solve this with a special mergemodule called <em>SIDLookup</em>, but not everyone knew of its existence.</p>
<p>Since Windows Installer 5.0 (included in Windows 7 by default) there is a brand-new table called &#8216;<em>MsiLockPermissionsEx</em>&#8216; which can be used to set permissions on files, registry, folders, and services that are installed with your msi-package. You can find the TechNet page explaining all this here:</p>
<p><a href="http://msdn.microsoft.com/en-us/library/windows/desktop/dd408009%28v=vs.85%29.aspx">http://msdn.microsoft.com/en-us/library/windows/desktop/dd408009%28v=vs.85%29.aspx</a></p>
<p><span id="more-4404"></span></p>
<p><strong>Tutorial – how to use MsiLockPermissionsEx in your msi<br />
</strong></p>
<p>&nbsp;</p>
<p><span style="text-decoration: underline">Step 1: Add the <em>MsiLockPermissionsEx</em> table to your msi.<br />
</span></p>
<p>I recommend you to use Orca 5 (latest version available in Windows 7 SDK) which already supports the new table natively. You won&#8217;t see it right away, you just have to tell Orca to use it. But before you add this table you should make sure that the &#8216;old&#8217; LockPermissions table is removed (in Orca this can be done by selecting &#8216;drop table&#8217; when you right-click on the table&#8217;s name). Your msi will fail during installation on Win7 or later when both (LockPermissions and MsiLockPermissionEx) tables exist in the same package. On Windows XP the installation itself will not fail, but permissions are simply not set.</p>
<p>Open your existing msi in Orca and you will see that the table <em>MsiLockPermissionsEx</em> is not there yet, so you need to add it first.</p>
<p>Click &#8216;Add table&#8217; in the &#8216;Tables&#8217; menu.</p>
<p>Now select &#8216;MsiLockPermissionsEx&#8217; and click &lt;OK&gt;.</p>
<p>When you look at the tables again, you will see that the new table is already added to your msi</p>
<p>The MsiLockPermissionsEx table consists of the following columns:</p>
<p>-MsiLockPermissionsEx</p>
<p>-LockObject</p>
<p>-Table</p>
<p>-SDDLText</p>
<p>-Condition</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>For further info about using this table I refer to the before mentioned TechNet article.</p>
<p>&nbsp;</p>
<p><span style="text-decoration: underline">Step 2: Install the package/software and set the permissions you want.<br />
</span></p>
<p>You can only set permissions on items which are part of the package, therefore you should first install the software. You can set permissions on files, folders, registry keys and services.</p>
<p>Now you can set the permissions on the items you want. I will give the following permissions in my example:</p>
<p>-Give the &#8216;Everyone&#8217; group full control on the registry key <em>HKLM\Software\Wow6432Node\Primavera</em> and all subkeys.</p>
<p>-Give the &#8216;Everyone&#8217; group read and execute rights on the file <em>C:\Windows\SysWow64\dbexpint.dll</em>.</p>
<p>&nbsp;</p>
<p><span style="text-decoration: underline">Step 3 Download the SubInACL tool from Microsoft.<br />
</span></p>
<p>You can find the SubInACL tool here: <a href="http://www.microsoft.com/download/en/confirmation.aspx?id=23510">http://www.microsoft.com/download/en/confirmation.aspx?id=23510</a></p>
<p>&nbsp;</p>
<p><span style="text-decoration: underline">Step 4 Retrieve the SDDL string which you need to copy into the SDDL Text column in the MsiLockPermissionsEx table<br />
</span></p>
<p>After installing the <em>SubInACL</em> tool, you should browse to the <em>C:\Program Files (x86)\Windows Resource Kits\Tools </em>folder (with administrative rights) and execute the following command:</p>
<p><span style="font-size: 9pt"><strong>Subinacl.exe /file C:\Windows\SysWow64\dbexpint.dll /display=sddl<br />
</strong></span></p>
<p><img src="http://blog.wortell.nl/wp-content/uploads/013012_1439_Settingperm51.png" alt="" /></p>
<p>This command returns the SDDL string that I need for the <em>SDDL Text </em>column in Orca.</p>
<p>&nbsp;</p>
<p>Now I need to repeat this last step for getting the SDDL string of my registry key permissions:</p>
<p><span style="font-size: 9pt"><strong>Subinacl.exe /keyreg HKEY_LOCAL_MACHINE\Software\Wow6432Node\Primavera /display=sddl</strong></span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><span style="text-decoration: underline">Step 5 compile the msi and check the results.<br />
</span></p>
<p>After compiling your package and installing it on the client pc&#8217;s, you should now have the permissions like desired.</p>
<p>&nbsp;</p>
<p>Keep in mind that MsiLockPermissionsEx will still overwrite existing permissions, BUT it <strong>can</strong> preserve inherited permissions. The old LockPermissions table was not able to preserve inherited permissions. The inheritance depends on the SDDL string you enter.</p>
<p>There exists a nice script from the CSI website to get SDDL strings, but you are only allowed to use it when you have a license for it or when one of your companies employees has attended a particular CSI course. You can find their tool here: <a href="http://csi-windows.com/toolkit/csigetsddlfromobject">http://csi-windows.com/toolkit/csigetsddlfromobject</a></p>
<p>Look here for more info about the SDDL string: <a href="http://msdn.microsoft.com/en-us/library/aa379570%28v=vs.85%29.aspx">http://msdn.microsoft.com/en-us/library/aa379570%28v=vs.85%29.aspx</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wortell.nl/sanderz/setting-permissions-with-your-msi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Announcing the new TechNet Forum Assistant!</title>
		<link>http://blog.wortell.nl/berson/announcing-the-new-technet-forum-assistant/</link>
		<comments>http://blog.wortell.nl/berson/announcing-the-new-technet-forum-assistant/#comments</comments>
		<pubDate>Thu, 24 Nov 2011 10:51:11 +0000</pubDate>
		<dc:creator>Freek Berson</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.wortell.nl/?p=4123</guid>
		<description><![CDATA[Microsoft launched a new free Windows gadget, the TechNet Forum Assistant. For details and download, see below. TechNet Forum Assistant The TechNet Forum Assistant is a free Windows gadget, available in the Microsoft Download Centre. This gadget will help you better utilize the great information in TechNet Forums and community. By downloading, you have the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://1.bp.blogspot.com/-fQf-qUDY__8/Ts4SQro4UQI/AAAAAAAAAeU/pJTjddbqseE/s1600/TechNetAssistent.jpg"><img src="http://blog.wortell.nl/wp-content/uploads/112411_1051_Announcingt1.jpg" border="0" alt="" align="left" /></a></p>
<p>Microsoft launched a new free Windows gadget, the TechNet Forum Assistant. For details and download, see below.</p>
<p><strong>TechNet Forum Assistant<br />
</strong>The <a href="http://www.microsoft.com/download/en/details.aspx?id=27747">TechNet Forum Assistant</a> is a free Windows gadget, available in the Microsoft Download Centre. This gadget will help you better utilize the great information in TechNet Forums and community. By downloading, you have the support and expertise of Microsoft TechNet Forum Support Engineers directly right on your desktop. Receive support on your terms by downloading the <a href="http://www.microsoft.com/download/en/details.aspx?id=27747">TechNet Forum Assistant.</a></p>
<p><strong>Ask Questions<br />
</strong>The <a href="http://www.microsoft.com/download/en/details.aspx?id=27747">TechNet Forum Assistant</a> enables you to ask questions directly to our dedicated TechNet Forum Support Engineers. With a click of your mouse, you can choose your favourite thread among the numerous topics available in the TechNet Forums.</p>
<p> <strong>Hot Topics &amp; Resources</strong><br />
<a href="http://www.microsoft.com/download/en/details.aspx?id=27747">The TechNet Forum Assistant</a> instantly directs you to the hottest questions and discussions, professional technique recommendations for development and free sample code from the All-In-One Code Framework. Searching through your forum threads has never been easier. With <a href="http://www.microsoft.com/download/en/details.aspx?id=27747">TechNet Forum Assistant</a> you can search through your threads directly from your desktop.</p>
<p><strong>Receive Personalized Updates</strong><br />
The <a href="http://www.microsoft.com/download/en/details.aspx?id=27747">TechNet Forum Assistant</a> conveniently gathers forum threads which are of interest to you. By selecting your favourite forums, the Forum Assistant provides updates on the most recent threads, making your online support experience much more convenient and hassle free.</p>
<p><a href="http://3.bp.blogspot.com/-ITqGclu2uFA/Ts4S9gV3QOI/AAAAAAAAAec/aKj_T-tD_6E/s1600/TechNetAssistent2.jpg"><img src="http://blog.wortell.nl/wp-content/uploads/112411_1051_Announcingt2.jpg" border="0" alt="" align="left" /></a></p>
<p><strong>Download:</strong><br />
<a href="http://www.microsoft.com/download/en/details.aspx?id=27747">http://www.microsoft.com/download/en/details.aspx?id=27747</a></p>
<p><strong>Originally posted here:</strong><br />
<a href="http://microsoftplatform.blogspot.com/2011/11/announcing-new-technet-forum-assistant.html">http://microsoftplatform.blogspot.com/2011/11/announcing-new-technet-forum-assistant.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wortell.nl/berson/announcing-the-new-technet-forum-assistant/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>1st European App-V User Group meeting – 18 November 2011 Amsterdam</title>
		<link>http://blog.wortell.nl/sanderz/1st-european-app-v-user-group-meeting-%e2%80%93-18-november-2011-amsterdam/</link>
		<comments>http://blog.wortell.nl/sanderz/1st-european-app-v-user-group-meeting-%e2%80%93-18-november-2011-amsterdam/#comments</comments>
		<pubDate>Fri, 18 Nov 2011 21:41:30 +0000</pubDate>
		<dc:creator>SanderZ</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.wortell.nl/sanderz/1st-european-app-v-user-group-meeting-%e2%80%93-18-november-2011-amsterdam/</guid>
		<description><![CDATA[Today was finally the event I was looking forward to for months: the 1st European App-V user group meeting. After 4 German User group events (Cologne, Munich, Hamburg, and last month in Berlin) it was now time for the European edition organized by the App-V user group. These meetings are by the community for the [...]]]></description>
			<content:encoded><![CDATA[<p>Today was finally the event I was looking forward to for months: the <strong>1<sup>st</sup> European App-V user group meeting</strong>. After 4 German User group events (Cologne, Munich, Hamburg, and last month in Berlin) it was now time for the European edition organized by the App-V user group. These meetings are by the community for the community. The German events were in German language and at this event – as it was for the European community – all the sessions were in English language.</p>
<p>Only 2 weeks after registration for this event had opened, the organization had to tell people that it was no longer possible to register, because there was no more space. But next year there will be another event – in Amsterdam again (at the Sheraton Hotel which offers space for over 350 people). Today there were about 120 people at the event.</p>
<p>Not only for the sessions itself it was useful to attend the event, but also for networking and meet other people that are obsessed in some way by App-V.</p>
<p>To give you some idea of the high quality of the event: there should have been 9 App-V MVP&#8217;s – unfortunately 2 had to cancel their visit at the last moment – but that still is quite extraordinary, as there are only 16 App-V MVP&#8217;s worldwide!</p>
<p>Not only people from Holland visited the event, but also people from countries like Belgium, Germany, UK, Ukraine, Norway, Sweden, and many more countries.<span id="more-4109"></span></p>
<p>After a nice presentation about Project VRC Phase IV by Ruben Spruijt (<em>PQR</em>) the attendants could hear Madelinde Walraven (<em>Microsoft Holland</em>) and Sebastian Gernert (<em>Microsoft Germany</em>) speak about some advanced App-V troubleshooting. Did you know for instance that an App-V application uses 2 high ports on the App-V Virtual Application Server and that the default maximum is 16,383 ports? 16,383 ports might seem a high number, but when your company uses Dynamic Suite Composition a bit too much, this maximum will be reached quite fast and then you get into &#8216;connection lost&#8217; problems.</p>
<p>After a short break, Ment van der Plas (<em>Login Consultants</em>) highlighted some App-V related changes in the new SCCM 2012 RC1 release. There are many changes, but unfortunately not all for the better: uninstalling an App-V from the clients is now not that straightforward anymore, as it used to be in SCCM 2007.</p>
<p>Another MVP (Nicke Källén,<em> Viridis</em>) had a session about &#8216;Heavy Duty Sequencing&#8217;. The information Nicke was talking about was not new to me, but certainly useful for people that are not that experienced in App-V yet.</p>
<p>Jurjen van Leeuwen (Dutch guy living and working in Norway, <em>Leodesk</em>) talked about Server App-V and after him Falko Gräfe gave a session about Dynamic Suite Composition. DSC looks like a great concept at first, but it can get you into a lot of trouble.</p>
<p>Rodney Medina <em>(Immedio</em>) had to prepare a session on short notice, as the original presenter wasn&#8217;t able to visit the event, but did a great job by talking about User State Virtualization.</p>
<p>The last session of the day was presented by all the presentators together, and was called &#8220;Top 10 Myths around App-V&#8221;. In this session the public was invited to discuss with the experts about certain situations, like virtualizing Office 2007 or cleaning up the sequence (which used to be best practice when you captured a MSI in the old days).</p>
<p>Nicke Källén is a great presenter and his session was, in my opinion the best of the day when I just look at the way he presented. The most interesting session for me was the session about &#8216;Troubleshooting App-V&#8217; by Madelinde and Sebastian.</p>
<p>I want to thank the organizers for organizing this great event and look forward to the 2<sup>nd</sup> European App-V User Group meeting. I had a great time and met some really nice people that are as passionate with App-V as I am. Next time there might be news about the next version of App-V… who knows.</p>
<p>When you like to come too to this great event – the date is not known yet &#8211; please visit <a href="http://www.appvug.com">www.appvug.com</a> / <a href="http://www.appvug.nl">www.appvug.nl</a> for the latest news.</p>
<p>The slides of the sessions haven&#8217;t been released yet, but when they are I will update this post with the links to the presentations.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wortell.nl/sanderz/1st-european-app-v-user-group-meeting-%e2%80%93-18-november-2011-amsterdam/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

