<?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>teamzone.ch &#187; WISE Package Studio</title>
	<atom:link href="http://teamzone.ch/category/wise-package-studio/feed/" rel="self" type="application/rss+xml" />
	<link>http://teamzone.ch</link>
	<description>Welcome to the Joint-Venture Blog from Fabio Cortesi and Stefan Jäger.</description>
	<lastBuildDate>Wed, 01 Jun 2011 22:43:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Orca 5.0 &#8211; the simple MSI table editor</title>
		<link>http://teamzone.ch/2010/06/05/orca-5-0-the-simple-msi-table-editor/</link>
		<comments>http://teamzone.ch/2010/06/05/orca-5-0-the-simple-msi-table-editor/#comments</comments>
		<pubDate>Sat, 05 Jun 2010 13:21:16 +0000</pubDate>
		<dc:creator>Fabio Cortesi</dc:creator>
				<category><![CDATA[MSI]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[WISE Package Studio]]></category>
		<category><![CDATA[MSI Table Editor; Windows SDK Components; Windows Developers]]></category>

		<guid isPermaLink="false">http://teamzone.ch/2010/06/05/orca-5-0-the-simple-msi-table-editor/</guid>
		<description><![CDATA[Orca.exe is a database table editor for creating and editing Windows Installer packages and merge modules. The tool provides a graphical interface for validation, highlighting the particular entries where validation errors or warnings occur. &#160; This tool is only available in the Windows SDK Components for Windows Installer Developers. It is provided as an Orca.msi [...]]]></description>
			<content:encoded><![CDATA[<p>Orca.exe is a database table editor for creating and editing Windows Installer packages and merge modules. The tool provides a graphical interface for validation, highlighting the particular entries where validation errors or warnings occur.</p>
<p>&#160;</p>
<p>This tool is only available in the <a href="http://msdn.microsoft.com/en-us/library/aa370834%28v=VS.85%29.aspx">Windows SDK Components for Windows Installer Developers</a>. It is provided as an Orca.msi file. After installing the Windows SDK Components for Windows Installer Developers, double click Orca.msi to install the Orca.exe file.</p>
<p>&#160;</p>
<p>Source: <a title="http://msdn.microsoft.com/en-us/library/aa370557%28VS.85%29.aspx" href="http://msdn.microsoft.com/en-us/library/aa370557%28VS.85%29.aspx">MSDN Microsoft</a></p>
<p>&#160;</p>
<p>Since this is a bit complicated to become the Orca-source to install the tool, you can download Orca 5.0 on the following link:</p>
<p><a href="http://teamzone.ch/files/Orca.msi" target="_blank"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://teamzone.ch/wp-content/uploads/2010/06/image1.png"  width="76" height="77" / rel="lightbox[roadtrip]"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://teamzone.ch/2010/06/05/orca-5-0-the-simple-msi-table-editor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ontrex Software Package Atelier Blog [German]</title>
		<link>http://teamzone.ch/2009/11/18/ontrex-software-package-atelier-blog-german/</link>
		<comments>http://teamzone.ch/2009/11/18/ontrex-software-package-atelier-blog-german/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 19:20:00 +0000</pubDate>
		<dc:creator>Fabio Cortesi</dc:creator>
				<category><![CDATA[MSI]]></category>
		<category><![CDATA[WISE Package Studio]]></category>

		<guid isPermaLink="false">http://teamzone.ch/2009/11/18/ontrex-software-package-atelier-blog-german/</guid>
		<description><![CDATA[Ontrex – a professional software packager in Switzerland is online with a technical blog: http://spablog.ontrex.ch/ There exist already Windows7/Windows Installer 5.0 posts. &#160; recommended!]]></description>
			<content:encoded><![CDATA[<p>Ontrex – a professional software packager in Switzerland is online with a technical blog:</p>
<p><a title="http://spablog.ontrex.ch/" href="http://spablog.ontrex.ch/" target="_blank">http://spablog.ontrex.ch/</a></p>
<p><a href="http://teamzone.ch/wp-content/uploads/2009/11/image.png"  rel="lightbox" rel="lightbox[roadtrip]"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://teamzone.ch/wp-content/uploads/2009/11/image_thumb.png" width="216" height="78" /></a> </p>
<p>There exist already Windows7/Windows Installer 5.0 posts.</p>
<p>&#160;</p>
<p><font color="#ff0000">recommended!</font></p>
]]></content:encoded>
			<wfw:commentRss>http://teamzone.ch/2009/11/18/ontrex-software-package-atelier-blog-german/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Deleting a folder structure with all files and subfolders using VB Script</title>
		<link>http://teamzone.ch/2009/05/11/wise-msi-script-deleting-a-folder-structure-with-all-files-and-subfolders-using-vb-script/</link>
		<comments>http://teamzone.ch/2009/05/11/wise-msi-script-deleting-a-folder-structure-with-all-files-and-subfolders-using-vb-script/#comments</comments>
		<pubDate>Mon, 11 May 2009 08:51:00 +0000</pubDate>
		<dc:creator>Fabio Cortesi</dc:creator>
				<category><![CDATA[MSI]]></category>
		<category><![CDATA[WISE Package Studio]]></category>
		<category><![CDATA[VB-Script]]></category>

		<guid isPermaLink="false">http://teamzone.ch/2009/05/11/wise-msi-script-deleting-a-folder-structure-with-all-files-and-subfolders-using-vb-script/</guid>
		<description><![CDATA[By default WISE can’t delete a folder structure with all files and subfolders. The technologie of MSI is designed to delete only these components by uninstalling, which were installed. &#160; With the following VB-Script can do just that. It makes sense, that the script uses a property of the directory-table. The example uses the “JUNIPER” [...]]]></description>
			<content:encoded><![CDATA[<p>By default WISE can’t delete a folder structure with all files and subfolders. The technologie of MSI is designed to delete only these components by uninstalling, which were installed.</p>
<p>&#160;</p>
<p>With the following VB-Script can do just that. It makes sense, that the script uses a property of the directory-table. The example uses the “JUNIPER” directory, which will be deleted by the script.</p>
<p><a href="http://teamzone.ch/wp-content/uploads/2009/05/snap21.jpg"  rel="lightbox" rel="lightbox[roadtrip]"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Snap2" border="0" alt="Snap2" src="http://teamzone.ch/wp-content/uploads/2009/05/snap2-thumb1.jpg" width="564" height="37" /></a> </p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
</pre></td><td class="code"><pre class="vb" style="font-family:monospace;"><span style="color: #E56717; font-weight: bold;">Option</span> <span style="color: #E56717; font-weight: bold;">Explicit</span> 
<span style="color: #151B8D; font-weight: bold;">Dim</span> WshShell,SystemFolder,Fso,strFolder, strFile, ret
&nbsp;
<span style="color: #008000;">' Set the property
</span>strFolder = GetAProperty(<span style="color: #800000;">&quot;JUNIPER&quot;</span>)
&nbsp;
<span style="color: #008000;">' Delete the last character at the end of the string 
</span><span style="color: #008000;">' -&gt; example: C:\Programm Files\Test&quot;\&quot;
</span><span style="color: #008000;">' For a correct deleting of a directory-property, 
</span><span style="color: #008000;">' the backslash at the end has to be deleted
</span>strFolder = Left(strFolder,Len(strFolder)-1)
&nbsp;
<span style="color: #008000;">' Environment variable reading 
</span><span style="color: #151B8D; font-weight: bold;">set</span> WshShell = <span style="color: #E56717; font-weight: bold;">CreateObject</span>(<span style="color: #800000;">&quot;WScript.Shell&quot;</span>) 
<span style="color: #151B8D; font-weight: bold;">set</span> Fso=<span style="color: #E56717; font-weight: bold;">createobject</span>(<span style="color: #800000;">&quot;scripting.filesystemobject&quot;</span>) 
&nbsp;
<span style="color: #008000;">' Delete the folder
</span><span style="color: #8D38C9; font-weight: bold;">If</span> Fso.FolderExists(strFolder) <span style="color: #8D38C9; font-weight: bold;">Then</span> 
ret = Fso.DeleteFolder (strFolder,<span style="color: #00C2FF; font-weight: bold;">True</span>) 
<span style="color: #8D38C9; font-weight: bold;">End</span> <span style="color: #8D38C9; font-weight: bold;">If</span>
&nbsp;
<span style="color: #151B8D; font-weight: bold;">Set</span> WshShell = <span style="color: #00C2FF; font-weight: bold;">Nothing</span> 
<span style="color: #151B8D; font-weight: bold;">Set</span> fso = <span style="color: #00C2FF; font-weight: bold;">Nothing</span> 
&nbsp;
<span style="color: #008000;">' Getting a property
</span><span style="color: #E56717; font-weight: bold;">Function</span> GetAProperty (PROPERTYNAME)
<span style="color: #151B8D; font-weight: bold;">dim</span> szStringVal
szStringVal = Session.<span style="color: #151B8D; font-weight: bold;">Property</span>(PROPERTYNAME)
GetAProperty = szStringVal
<span style="color: #8D38C9; font-weight: bold;">End</span> <span style="color: #E56717; font-weight: bold;">Function</span></pre></td></tr></table></div>

<p><span id="more-343"></span></p>
<p>The script must be implemented in the “immediate” section of the MSI-Script. In my example it has to be on the latest position – immediately before the completion of the installation.</p>
<p><a href="http://teamzone.ch/wp-content/uploads/2009/05/snap1.jpg"  rel="lightbox" rel="lightbox[roadtrip]"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Snap1" border="0" alt="Snap1" src="http://teamzone.ch/wp-content/uploads/2009/05/snap1-thumb.jpg" width="296" height="107" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://teamzone.ch/2009/05/11/wise-msi-script-deleting-a-folder-structure-with-all-files-and-subfolders-using-vb-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to use &quot;Active Setup&quot; to install user-components by MSI-packages</title>
		<link>http://teamzone.ch/2009/02/09/how-to-use-active-setup-to-install-user-components-by-msi-packages/</link>
		<comments>http://teamzone.ch/2009/02/09/how-to-use-active-setup-to-install-user-components-by-msi-packages/#comments</comments>
		<pubDate>Mon, 09 Feb 2009 20:35:43 +0000</pubDate>
		<dc:creator>Fabio Cortesi</dc:creator>
				<category><![CDATA[MSI]]></category>
		<category><![CDATA[WISE Package Studio]]></category>
		<category><![CDATA[Active Setup]]></category>
		<category><![CDATA[user-components]]></category>

		<guid isPermaLink="false">http://teamzone.ch/2009/02/09/how-to-use-active-setup-to-install-user-components-by-msi-packages/</guid>
		<description><![CDATA[Active Setup is included in the Windows Operating System and can be used to do something after the user logs in. Especially when you have to install some files, registry keys, user-certificates or other things into the user-profile is Active Setup a nice technology to use. It is originally a feature of Microsoft Internet Explorer [...]]]></description>
			<content:encoded><![CDATA[<p>Active Setup is included in the Windows Operating System and can be used to do something after the user logs in. Especially when you have to install some files, registry keys, user-certificates or other things into the user-profile is Active Setup a nice technology to use. It is originally a feature of Microsoft Internet Explorer and Microsoft Outlook.</p>
<p>&#160;</p>
<p>With WISE Package Studio you can easily implement Active Setup by adding the following Registry-Keys (minimum) to your project:</p>
<p>&#160;</p>
<p>[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\[UpgradeCode]</p>
<p>&quot;ComponentID&quot;=&quot;[ProductName]&quot;</p>
<p>&quot;StubPath&quot;=&quot;[SystemFolder]\msiexec.exe /fu [ProductCode] /qb-!&quot;</p>
<p><a href="http://teamzone.ch/wp-content/uploads/2009/02/image2.png"  rel="lightbox[roadtrip]"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="112" alt="image" src="http://teamzone.ch/wp-content/uploads/2009/02/image-thumb2.png" width="244" border="0" /></a> </p>
<p> <span id="more-318"></span>
<p>With only these keys is active setup ready to run. After the user-login, the technology is going to compare the entries between HKLM and HKCU. If there is a difference, Active Setup is going to run the commands in the &quot;StubPath&quot;-key. It runs only once. If you add a version-key, you can change the version-key and active setup will run again.</p>
<p>&#160;</p>
<p>With the commands in the example, the computer repairs all your user-sections in your MSI-package. So it&#8217;s necessary how you created your MSI. You can also make a Custom Action to run under the user-contex.</p>
<p><a href="http://teamzone.ch/wp-content/uploads/2009/02/image1.png"  rel="lightbox[roadtrip]"><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="244" alt="image" src="http://teamzone.ch/wp-content/uploads/2009/02/image-thumb1.png" width="220" border="0" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://teamzone.ch/2009/02/09/how-to-use-active-setup-to-install-user-components-by-msi-packages/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

