<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Deutsches Inno Setup Forum</title>
		<link>http://www.inno-setup.de</link>
		<description>Dieses Diskussionsforum dreht sich um den setupcompiler Inno</description>
		<language>de</language>
		<lastBuildDate>Sun, 20 May 2012 09:37:42 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.inno-setup.de/images/misc/rss.jpg</url>
			<title>Deutsches Inno Setup Forum</title>
			<link>http://www.inno-setup.de</link>
		</image>
		<item>
			<title>XML ansprechen</title>
			<link>http://www.inno-setup.de/showthread.php?t=2922&amp;goto=newpost</link>
			<pubDate>Mon, 14 May 2012 12:07:44 GMT</pubDate>
			<description>Hallo, 
 
ich habe bereits ein wenig mit der XML-Funktionalität von XMLDoc rumprobiert, aber ich komme leider nicht mehr weiter. 
 
Mein Problem: ich...</description>
			<content:encoded><![CDATA[<div>Hallo,<br />
<br />
ich habe bereits ein wenig mit der XML-Funktionalität von XMLDoc rumprobiert, aber ich komme leider nicht mehr weiter.<br />
<br />
Mein Problem: ich möchte einen neuen Eintrag in eine XML-Datei erzeugen (oder abändern, falls bereits vorhanden).<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">XML Code:</div>
	<pre class="alt2" style="margin:0px; padding:6px; border:1px inset; width:640px; height:212px; overflow:auto"><div dir="ltr" style="text-align:left;"><div class="xml"><ol><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;</span>?xml <span style="color: #000066;">version</span>=<span style="color: #ff0000;">"1.0"</span> <span style="color: #000066;">encoding</span>=<span style="color: #ff0000;">"utf-8"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;configuration<span style="font-weight: bold; color: black;">&gt;</span></span></span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;userSettings<span style="font-weight: bold; color: black;">&gt;</span></span></span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;sektion</span>.Properties.Settings<span style="font-weight: bold; color: black;">&gt;</span></span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;setting</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">"Einstellung1"</span> <span style="color: #000066;">serializeAs</span>=<span style="color: #ff0000;">"String"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;value<span style="font-weight: bold; color: black;">&gt;</span></span></span>false<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/value<span style="font-weight: bold; color: black;">&gt;</span></span></span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/setting<span style="font-weight: bold; color: black;">&gt;</span></span></span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;setting</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">"Einstellung2"</span> <span style="color: #000066;">serializeAs</span>=<span style="color: #ff0000;">"String"</span><span style="font-weight: bold; color: black;">&gt;</span></span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;value<span style="font-weight: bold; color: black;">&gt;</span></span></span>true<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/value<span style="font-weight: bold; color: black;">&gt;</span></span></span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/setting<span style="font-weight: bold; color: black;">&gt;</span></span></span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">usw. </div></li></ol></div></div></pre>
</div><br />
Wie kann ich gezielt diese Knoten (Einstellung1 etc.) ansprechen? <br />
<br />
<br />
Mein Codegerüst sieht so aus:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">INNO Code:</div>
	<pre class="alt2" style="margin:0px; padding:6px; border:1px inset; width:640px; height:468px; overflow:auto"><div dir="ltr" style="text-align:left;"><div class="inno"><ol><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0000FF;">function</span> PrepareToInstall<span style="color: #000000; font-weight: bold;">&#40;</span><span style="color: #0000FF;">var</span> NeedsRestart: Boolean<span style="color: #000000; font-weight: bold;">&#41;</span>: <span style="color: #0000FF;">String</span>;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0000FF;">var</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; XMLDoc : Variant;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; path, XMLFileName: <span style="color: #0000FF;">string</span>;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0000FF;">Begin</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">&#123;</span> Load the XML <span style="color: #0000FF;">File</span> <span style="color: #000000; font-weight: bold;">&#125;</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; path :=<span style="color: #000000;">'c:\test\'</span>;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; XMLFileName :=<span style="color: #000000;">'test.xml'</span>;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; XMLDoc := CreateOleObject<span style="color: #000000; font-weight: bold;">&#40;</span><span style="color: #000000;">'MSXML2.DOMDocument'</span><span style="color: #000000; font-weight: bold;">&#41;</span>;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; XMLDoc.async := False;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; XMLDoc.resolveExternals := False;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; XMLDoc.load<span style="color: #000000; font-weight: bold;">&#40;</span>Path + XMLFileName<span style="color: #000000; font-weight: bold;">&#41;</span>;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;<span style="color: #0000FF;">if</span> XMLDoc.parseError.errorCode &lt;&gt; <span style="color: #000000;">0</span> <span style="color: #0000FF;">then</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; RaiseException<span style="color: #000000; font-weight: bold;">&#40;</span><span style="color: #000000;">'Error in xml on line '</span> + IntToStr<span style="color: #000000; font-weight: bold;">&#40;</span>XMLDoc.parseError.line<span style="color: #000000; font-weight: bold;">&#41;</span> + <span style="color: #000000;">', position '</span> + IntToStr<span style="color: #000000; font-weight: bold;">&#40;</span>XMLDoc.parseError.linepos<span style="color: #000000; font-weight: bold;">&#41;</span> + <span style="color: #000000;">': '</span> + XMLDoc.parseError.reason<span style="color: #000000; font-weight: bold;">&#41;</span>;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; MsgBox<span style="color: #000000; font-weight: bold;">&#40;</span><span style="color: #000000;">'Loaded the XML file.'</span>, mbInformation, mb_Ok<span style="color: #000000; font-weight: bold;">&#41;</span>;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #000000; font-weight: bold;">&#123;</span> Modify the XML document - aber wie? <span style="color: #000000; font-weight: bold;">&#125;</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; <span style="color: #000000; font-weight: bold;">&#123;</span> Save the XML document <span style="color: #000000; font-weight: bold;">&#125;</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; XMLDoc.Save<span style="color: #000000; font-weight: bold;">&#40;</span>Path + XMLFileName<span style="color: #000000; font-weight: bold;">&#41;</span>;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0000FF;">end</span>; </div></li></ol></div></div></pre>
</div><br />
Ich hätte jetzt erwartet, daß ich irgendwie eine Variable mit dem Knotennamen benutzen kann und per Knotenname.text:='false' dem einen Wert zuweisen kann.. <br />
<br />
Ich würde mich sehr freuen, wenn hier jemand weiterhelfen kann.<br />
<br />
Viele Grüße!</div>

]]></content:encoded>
			<category domain="http://www.inno-setup.de/forumdisplay.php?f=18">Pascal-Code</category>
			<dc:creator>HeSon</dc:creator>
			<guid isPermaLink="true">http://www.inno-setup.de/showthread.php?t=2922</guid>
		</item>
		<item>
			<title>Verknüpfung, keine Grafiken in der Software sichtbar</title>
			<link>http://www.inno-setup.de/showthread.php?t=2921&amp;goto=newpost</link>
			<pubDate>Mon, 14 May 2012 11:53:27 GMT</pubDate>
			<description><![CDATA[Hallo,  
 
ich habe ein kleines Problem mit der Erstellung von Verknüpfungen unter Windows 7 (egal ob 32 oder 64 bbit). 
 
 
[Icons] 
Name:...]]></description>
			<content:encoded><![CDATA[<div>Hallo, <br />
<br />
ich habe ein kleines Problem mit der Erstellung von Verknüpfungen unter Windows 7 (egal ob 32 oder 64 bbit).<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">inno Code:</div>
	<pre class="alt2" style="margin:0px; padding:6px; border:1px inset; width:640px; height:68px; overflow:auto"><div dir="ltr" style="text-align:left;"><div class="inno"><ol><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&#91;Icons&#93;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0000FF;">Name</span>: <span style="color: #000000; font-weight: bold;">&#123;</span>userdesktop<span style="color: #000000; font-weight: bold;">&#125;</span>\<span style="color: #000000; font-weight: bold;">&#123;</span>cm:MyAppName<span style="color: #000000; font-weight: bold;">&#125;</span>; <span style="color: #0000FF;">Filename</span>: <span style="color: #000000; font-weight: bold;">&#123;</span>app<span style="color: #000000; font-weight: bold;">&#125;</span>\bin\Test.exe; <span style="color: #0000FF;">WorkingDir</span>: <span style="color: #000000; font-weight: bold;">&#123;</span>app<span style="color: #000000; font-weight: bold;">&#125;</span>; <span style="color: #0000FF;">Tasks</span>: desktopicon; </div></li></ol></div></div></pre>
</div><br />
Die Verknüpfung ist da, allerdings werden die Grafiken (egal ob jpg, png oder gif) in der Software nach dem Starten nicht angezeigt (nur Platzhalter sichtbar). <br />
<br />
Wenn ich manuell eine neue Verknüpfung erstelle, sind sie dann sichtbar.<br />
<br />
Beide Verknüpfungen haben das Admin-Zeichen und auch der Ordner, wo die Grafiken abgelegt sind, wird durch das Setup mit allen Rechten versehen.<br />
<br />
Ich bin mir allerdings nicht sicher, ob das vielleicht ein generelles Windows 7 Problem ist bzw. ob man beim Anlegen der Verknüpfung durch Inno noch Parameter angeben könnte, welche die Grafiken anzeigen lassen.<br />
<br />
Gruß &amp; Danke im Voraus<br />
andre</div>

]]></content:encoded>
			<category domain="http://www.inno-setup.de/forumdisplay.php?f=17">Inno-Scripte sprache</category>
			<dc:creator>szcepak</dc:creator>
			<guid isPermaLink="true">http://www.inno-setup.de/showthread.php?t=2921</guid>
		</item>
		<item>
			<title>Section nur ausfuehren, wenn Bedingung erfuellt.</title>
			<link>http://www.inno-setup.de/showthread.php?t=2920&amp;goto=newpost</link>
			<pubDate>Fri, 11 May 2012 07:09:24 GMT</pubDate>
			<description><![CDATA[Halloechen, 
 
ich haette da mal eine Anfaengerfrage. Ich wuerde gerne die Section "[UninstallDelete]" nur dann ausfuehren lassen, wenn der Benutzer...]]></description>
			<content:encoded><![CDATA[<div>Halloechen,<br />
<br />
ich haette da mal eine Anfaengerfrage. Ich wuerde gerne die Section &quot;[UninstallDelete]&quot; nur dann ausfuehren lassen, wenn der Benutzer vorher (in einer MsgBox z.B.) das Loeschen wuenscht. Das geht sicher ganz einfach aber irgendwie hab ich das Konzept noch nicht so recht gerafft.<br />
<br />
Falls mir jemand einen Tip geben koennte... das waere riesig! <br />
<br />
Danke!<br />
<br />
Gruss, FFNB.</div>

]]></content:encoded>
			<category domain="http://www.inno-setup.de/forumdisplay.php?f=17">Inno-Scripte sprache</category>
			<dc:creator>FerFemNemBem</dc:creator>
			<guid isPermaLink="true">http://www.inno-setup.de/showthread.php?t=2920</guid>
		</item>
		<item>
			<title>Setup bei fehlenden Komponeten abbrechen</title>
			<link>http://www.inno-setup.de/showthread.php?t=2919&amp;goto=newpost</link>
			<pubDate>Fri, 04 May 2012 20:35:09 GMT</pubDate>
			<description>Hallo zusammen, 
als Neuling in diesem Forum habe ich eine Frage zum allgemeinen Ablauf 
des Installationsvorgangs mit InnoSetup. Ich arbeite mit...</description>
			<content:encoded><![CDATA[<div>Hallo zusammen,<br />
als Neuling in diesem Forum habe ich eine Frage zum allgemeinen Ablauf<br />
des Installationsvorgangs mit InnoSetup. Ich arbeite mit InnoSetup v5.4.3<br />
Und habe bisher meine Setups hauptsächlich mit ISTOOL oder Inno Script Studio zusammengestellt.<br />
Jetzt möchte (muss) ich tiefer in die Pascal Sprachfunktionalität einsteigen.<br />
<br />
Ziel: Prüfen ob bestimmte Komponenten auf dem PC installiert sind und bei Nichtexistenz das Setup einfach mit einer Fehlermeldung abbrechen.<br />
<br />
Bisher habe ich es zwar geschafft eigene Checks zu kreieren, die es erlauben<br />
 in Abhängigkeit von Registry-Einträgen Dateien zu installieren oder eben<br />
 nicht, dioch einen vorzeitigen Abbruch bekomme ich einfach nicht hin.<br />
<br />
Im Ergebnis meiner Installationen wird, auch wenn mangels positiver Check-Ergebnisse keine Datei installiert wurde, trotzdem eine Installation durchgeführt. In der &quot;Systemsteuerung=&gt;Programme&quot; wird ein Eintrag zwecks Deinstalation erzeugt.<br />
<br />
Nun meine Frage:<br />
Wie erreiche ich es, dass beim Feststellen fehlender Vorraussetzungen<br />
(Abfrage über die Registry habe ich mir gebastelt) die Installation sauber abgebrochen wird, eine Meldung dies auch anzeigt und keinerlei Eintrag zur Deinstallation erzeugt wird?<br />
<br />
Vielen Dank schon jetzt.<br />
<br />
Grüße<br />
Woellmi</div>

]]></content:encoded>
			<category domain="http://www.inno-setup.de/forumdisplay.php?f=18">Pascal-Code</category>
			<dc:creator>Woellmi</dc:creator>
			<guid isPermaLink="true">http://www.inno-setup.de/showthread.php?t=2919</guid>
		</item>
		<item>
			<title>CreateShellLink - Verknüpfung zu einem Verzeichnis anlegen</title>
			<link>http://www.inno-setup.de/showthread.php?t=2918&amp;goto=newpost</link>
			<pubDate>Wed, 02 May 2012 07:48:46 GMT</pubDate>
			<description>Hallo, 
 
bei meiner Installation wählt der Anwender zwei Konfigurationsverzeichnisse, ein lokales und eines im Netzwerk. 
Im Script möchte ich nun...</description>
			<content:encoded><![CDATA[<div>Hallo,<br />
<br />
bei meiner Installation wählt der Anwender zwei Konfigurationsverzeichnisse, ein lokales und eines im Netzwerk.<br />
Im Script möchte ich nun automatisch eine Verknüpfung von dem einen zum anderen Verzeichnis anlegen.<br />
<br />
Dies sollte denke ich mit &quot;CreateShellLink&quot; möglich sein, es gelingt mir jedoch nicht. <br />
Die Beispiele zeigen Verknüpfungen zu Dateien mit deutlich mehr Angaben, als bei einer Verzeichnisverknüpfung. <br />
<br />
Mein Code:<br />
<br />
<i>CreateShellLink(SelectEnvPage.Values[0] + '\Template\Gruppenvorlagen.lnk', 'Verknüpfung zu den Gruppenvorlagen',SelectEnvPage.Values[1] + '\Template',,,,0,SW_SHOWNORMAL);</i></div>

]]></content:encoded>
			<category domain="http://www.inno-setup.de/forumdisplay.php?f=18">Pascal-Code</category>
			<dc:creator>cne</dc:creator>
			<guid isPermaLink="true">http://www.inno-setup.de/showthread.php?t=2918</guid>
		</item>
		<item>
			<title>Code bei Flags</title>
			<link>http://www.inno-setup.de/showthread.php?t=2917&amp;goto=newpost</link>
			<pubDate>Sun, 29 Apr 2012 09:58:54 GMT</pubDate>
			<description>Hallo, 
 
ich möchte bei einem Update - abhängig von der vorhandenen Installation - einen Registry-Wert schreiben oder eben nicht und eine Datei ins...</description>
			<content:encoded><![CDATA[<div>Hallo,<br />
<br />
ich möchte bei einem Update - abhängig von der vorhandenen Installation - einen Registry-Wert schreiben oder eben nicht und eine Datei ins {app} Verzeichnis kopieren oder eben nicht.<br />
Nun habe ich mir gedacht, ich nehme die Flags daher und kombinier es mit code und dann habe ich das gemacht:<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Inno Setup Code:</div>
	<pre class="alt2" style="margin:0px; padding:6px; border:1px inset; width:640px; height:420px; overflow:auto"><div dir="ltr" style="text-align:left;"><div><ol>&#91;Files&#93;Source: &quot;F:\Visual Studio 2008\Projects\ZI\dbk.txt&quot;; DestDir: &quot;{app}&quot;; Flags: {code:FileFlag}&#91;Registry&#93;Root:HKLM; Subkey: &quot;Software\ZI&quot;; ValueType: dword; ValueName:&quot;S1&quot;;ValueData:&quot;999&quot;;Flags: {code:RegFlag}&#91;Code&#93;var Unprotected:boolean;&nbsp; &nbsp; //Merken wenn ungeschützt und ablauf ändernfunction RegFlag(dummy:string):dwordbegin&nbsp; if(Unprotected)then&nbsp; &nbsp; result:=dontcreatekey;&nbsp; else &nbsp; &nbsp; result:=uninsdeletevalue;endfunction FileFlag(dummy:string):dwordbegin&nbsp; if(Unprotected)then&nbsp; &nbsp; result:=ignoreversion;&nbsp; else &nbsp; &nbsp; result:=dontcopy;end...</ol></div></div></pre>
</div>Nun kommpt eine Fehlermeldung bei der Registry-Zeile &quot;Parameter 'Flags' includes an unknown flag&quot;.<br />
<br />
Kann mir jemand sagen, was ich falsch mache oder es ein richtiger Ansatz ist?<br />
<br />
Danke<br />
Micha</div>

]]></content:encoded>
			<category domain="http://www.inno-setup.de/forumdisplay.php?f=17">Inno-Scripte sprache</category>
			<dc:creator>der_micha1981</dc:creator>
			<guid isPermaLink="true">http://www.inno-setup.de/showthread.php?t=2917</guid>
		</item>
		<item>
			<title>Optionen-Auswahl Dialog</title>
			<link>http://www.inno-setup.de/showthread.php?t=2916&amp;goto=newpost</link>
			<pubDate>Fri, 27 Apr 2012 13:54:34 GMT</pubDate>
			<description>Hallo zusammen 
 
Bisher habe ich das Meiste geschnallt zu was dieses hervorragende Tool fähig ist. Aber im Moment stehe ich mir völlig auf dem...</description>
			<content:encoded><![CDATA[<div>Hallo zusammen<br />
<br />
Bisher habe ich das Meiste geschnallt zu was dieses hervorragende Tool fähig ist. Aber im Moment stehe ich mir völlig auf dem Schlauch!<br />
Nach der Welcome-Box sollte eine Art Button-Auswahl (s. Anhang) eingeblendet werden die dem Anwender erlaubt, die Installation auszuführen oder eine der Dokus anzusehen und wieder zur Button-Auswahl zurückzukehren.<br />
<br />
Hat jemand von Euch eine Idee wie sowas zu bewerkstelligen ist?<br />
<br />
Besten Dank!</div>


	<br />
	<div style="padding:6px">

	

	

	
		<fieldset class="fieldset">
			<legend>Angehängte Grafiken</legend>
			<table cellpadding="0" cellspacing="3" border="0">
			<tr>
	<td><img class="inlineimg" src="http://www.inno-setup.de/images/attach/jpg.gif" alt="Dateityp: jpg" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
	<td><a href="http://www.inno-setup.de/attachment.php?attachmentid=199&amp;d=1335534798">Optionen.jpg</a> (21,2 KB)</td>
</tr>
			</table>
			</fieldset>
	

	

	</div>
]]></content:encoded>
			<category domain="http://www.inno-setup.de/forumdisplay.php?f=17">Inno-Scripte sprache</category>
			<dc:creator>George</dc:creator>
			<guid isPermaLink="true">http://www.inno-setup.de/showthread.php?t=2916</guid>
		</item>
		<item>
			<title>InnoIDE mit Parametern starten</title>
			<link>http://www.inno-setup.de/showthread.php?t=2915&amp;goto=newpost</link>
			<pubDate>Thu, 26 Apr 2012 13:21:52 GMT</pubDate>
			<description>Hallo, 
muss mal eine Frage stellen die hoffentlich nicht doch irgendwo schon beantwortet ist. Ich denke ich habe alles durchsucht. 
Ist aber so...</description>
			<content:encoded><![CDATA[<div>Hallo,<br />
muss mal eine Frage stellen die hoffentlich nicht doch irgendwo schon beantwortet ist. Ich denke ich habe alles durchsucht.<br />
Ist aber so simple das ich nicht glauben kann das es nicht schon beschrieben wäre.<br />
<br />
das InnoSetup kann ich super über Parameter starten, Batchdatei z.B. mit diesem Inhalt:<br />
&quot;C:\Programme\Inno Setup 5\ISCC.exe&quot; /O&quot;..\_Output&quot; /F&quot;RL_MySetup_001&quot;  &quot;RL_MySetup_001.iss&quot; <br />
<br />
nur leider klappt das nicht bei InnoIDE, das kann ich zwar auch aufrufen, mit:<br />
&quot;C:\Programme\InnoIDE\InnoIDE.exe&quot; &quot;C:\Test\RL_MySetup_001.iss&quot; <br />
<br />
aber dann wird nur der Editor aufgerufen und das Script geladen.<br />
Wie bekommen ich aber das Compilieren ausgelöst? <br />
<br />
Ist bestimmt einfach, aber wie?<br />
Gruß und Danke Reiner</div>

]]></content:encoded>
			<category domain="http://www.inno-setup.de/forumdisplay.php?f=10">Script Editoren</category>
			<dc:creator>reiner.liebold</dc:creator>
			<guid isPermaLink="true">http://www.inno-setup.de/showthread.php?t=2915</guid>
		</item>
		<item>
			<title>User-SID in der Registry auslesen</title>
			<link>http://www.inno-setup.de/showthread.php?t=2914&amp;goto=newpost</link>
			<pubDate>Sat, 21 Apr 2012 22:39:45 GMT</pubDate>
			<description>Hallo, 
 
ich habe ein Problem, für das ich einfach keine Lösung finde: ich habe ein Setup für ein Programm erstellt, das seine Einstellungen...</description>
			<content:encoded><![CDATA[<div>Hallo,<br />
<br />
ich habe ein Problem, für das ich einfach keine Lösung finde: ich habe ein Setup für ein Programm erstellt, das seine Einstellungen normalerweise unter &quot;HKEY_LOCAL_MACHINE\Software\&quot; speichert. Da das Programm schon älter ist, leitet Windows Vista aufwärts diese Einträge aber nach &quot;HKEY_USERS\&lt;User SID&gt;_Classes\VirtualStore\Machine\Software\&quot; um.<br />
Das heißt, dass ich unter diesen Betriebssystemen diese Einträge nicht löschen kann, da ich nicht weiß, wie ich an die &lt;USER SID&gt; komme. Diese ist nämlich für jeden Benutzer auf jedem PC einzigartig.<br />
Kann mir einer von euch da weiterhelfen?</div>

]]></content:encoded>
			<category domain="http://www.inno-setup.de/forumdisplay.php?f=18">Pascal-Code</category>
			<dc:creator>reasonuser</dc:creator>
			<guid isPermaLink="true">http://www.inno-setup.de/showthread.php?t=2914</guid>
		</item>
	</channel>
</rss>

