<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : ISSkin error -Duplicate identifier INITIALIZESETUP</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : General Discussion : ISSkin error -Duplicate identifier INITIALIZESETUP]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 20:11:30 +0000</pubDate>
  <lastBuildDate>Thu, 10 Feb 2011 02:49:29 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=17854</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[ISSkin error -Duplicate identifier INITIALIZESETUP : Hi. I making new setup using Inno...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17854&amp;PID=62523&amp;title=isskin-error-duplicate-identifier-initializesetup#62523</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6610">Jake</a><br /><strong>Subject:</strong> 17854<br /><strong>Posted:</strong> 10 February 2011 at 2:49am<br /><br />Hi. I making new setup using Inno setup with ISSI and ISSkin, but propably <span id="result_" ="short_text" lang="en"><span title="Kliknutím zobrazíte alternativní překlady" ="hps">exactly</span> <span title="Kliknutím zobrazíte alternativní překlady" ="hps">this combination is not good.<br><br>I have following code in .iss project:<br>(xxx is just for private reasons)<br></span></span><br><table width="99%"><tr><td><pre class="BBcode"><br>; Script generated by the Inno Setup Script Wizard.<br>; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!<br><br>#define MyAppName "XXX"<br>#define MyAppVerName "XXX 1.0"<br>#define MyAppPublisher "XXX"<br>#define MyAppURL "http://www.xxx.cz"<br>#define MyAppExeName "XXX.exe"<br>#define MyAppUrlName "XXX.url"<br>#define ISSI_IncludePath "C:\ISSI"<br><br>&#091;Setup&#093;<br>AppId={{XXX}<br>AppName={#MyAppName}<br>AppVerName={#MyAppVerName}<br>AppPublisher={#MyAppPublisher}<br>AppPublisherURL={#MyAppURL}<br>AppSupportURL={#MyAppURL}<br>AppUpdatesURL={#MyAppURL}<br>DefaultDirName={pf}\XXX<br>DefaultGroupName={#MyAppName}<br>LicenseFile=C:\BUILD\LicenceF.txt<br>OutputDir=C:\BUILD\full\__Output<br>OutputBaseFilename=XXX setup plná verze ISW<br>SetupIconFile=C:\BUILD\xxx.ico<br>Compression=lzma2/max<br>SolidCompression=yes<br>Encryption=no<br><br>&#091;Languages&#093;<br>;Name: "czech"; MessagesFile: "compiler:Languages\Czech.isl"<br>;Name: "slovak"; MessagesFile: "compiler:Languages\Slovak.isl"<br><br>&#091;Tasks&#093;<br>Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}";<br>Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}";<br><br>&#091;Files&#093;<br>Source: "C:\BUILD\full\XXX\XXX.exe"; DestDir: "{app}"; Flags: ignoreversion<br>Source: "C:\BUILD\full\XXX\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs<br>Source: "C:\BUILD\ikony\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs<br>; NOTE: Don't use "Flags: ignoreversion" on any shared system files<br><br>; Add the ISSkin DLL used for skinning Inno Setup installations.<br>Source: ISSkin.dll; DestDir: {app}; Flags: dontcopy<br><br>; Add the Visual Style resource contains resources used for skinning,<br>; you can also use Microsoft Visual Styles (*.msstyles) resources.<br>Source: Styles\Office2007.cjstyles; DestDir: {tmp}; Flags: dontcopy<br><br>&#091;INI&#093;<br>Filename: "{app}\{#MyAppUrlName}"; Section: "InternetShortcut"; Key: "URL"; String: "{#MyAppURL}"<br><br>&#091;Icons&#093;<br>Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; WorkingDir: "{app}"<br>Name: "{group}\{cm:ProgramOnTheWeb,{#MyAppName}}"; Filename: "{#MyAppURL}"; WorkingDir: "{app}"<br>Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"<br>;tady dou další ikony<br>Name: "{group}\Pohádky zdarma ke stažení"; Filename: "{app}\Pohadky.url"; IconFilename: "{app}\Pohadky.ico"<br>Name: "{group}\Hry zdarma ke stažení"; Filename: "{app}\Hry.url"; IconFilename: "{app}\Hry.ico"<br>;<br>Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon; WorkingDir: "{app}"<br>;ikony na plochu<br>Name: "{commondesktop}\České pohádky zdarma ke stažení"; Filename: "{app}\Pohadky.url"; IconFilename: "{app}\Pohadky.ico"; Tasks: desktopicon<br>Name: "{commondesktop}\Hry zdarma ke stažení"; Filename: "{app}\Hry.url"; IconFilename: "{app}\Hry.ico"; Tasks: desktopicon<br>Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: quicklaunchicon; WorkingDir: "{app}"<br>;další kviklanš<br>Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\Pohádky zdarma ke stažení"; Filename: "{app}\Pohadky.url"; IconFilename: "{app}\Pohadky.ico"; Tasks: quicklaunchicon<br>Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\Hry zdarma ke stažení"; Filename: "{app}\Hry.url"; IconFilename: "{app}\Hry.ico"; Tasks: quicklaunchicon<br>Name: {group}\Uninstall =ISSkin; Filename: {app}\unins000.exe<br><br>; The following code block is used to load the ISS, pass in<br>; NormalBlack.ini as the second parameter to LoadSkin to use<br>; the Black color scheme instead of the default Blue color<br>; scheme.<br><br>&#091;Code&#093;<br>// Importing LoadSkin API from ISSkin.DLL<br>procedure LoadSkin(lpszPath: String; lpszIniFileName: String);<br>external 'LoadSkin@files:isskin.dll stdcall';<br><br>// Importing UnloadSkin API from ISSkin.DLL<br>procedure UnloadSkin();<br>external 'UnloadSkin@files:isskin.dll stdcall';<br><br>// Importing ShowWindow Windows API from User32.DLL<br>function ShowWindow(hWnd: Integer; uType: Integer): Integer;<br>external 'ShowWindow@user32.dll stdcall';<br><br>function InitializeSetup(): Boolean;<br>begin<br>&nbsp;&nbsp; &nbsp;ExtractTemporaryFile('Office2007.cjstyles');<br>&nbsp;&nbsp; &nbsp;LoadSkin(ExpandConstant('{tmp}\Office2007.cjstyles'), 'NormalBlack.ini');<br>&nbsp;&nbsp; &nbsp;Result := True;<br>end;<br><br>procedure DeinitializeSetup();<br>begin<br>&nbsp;&nbsp; &nbsp;// Hide Window before unloading skin so user does not get<br>&nbsp;&nbsp; &nbsp;// a glimse of an unskinned window before it is closed.<br>&nbsp;&nbsp; &nbsp;ShowWindow(StrToInt(ExpandConstant('{wizardhwnd}')), 0);<br>&nbsp;&nbsp; &nbsp;UnloadSkin();<br>end;<br><br><br>&#091;Run&#093;<br>Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#MyAppName}}"; Flags: nowait postinstall skipifsilent<br><br>&#091;ISSI&#093;<br>#define ISSI_URL<br>#define ISSI_UrlText<br>#define ISSI_Czech<br>;#define ISSI_Russian<br>#define ISSI_Splash "logo.bmp"<br>#define ISSI_Splash_T 3<br>#define ISSI_Splash_X 477<br>#define ISSI_Splash_Y 320<br>#define ISSI_IncludePath "C:\ISSI"<br>#include ISSI_IncludePath+"\_issi.isi"<br></pre></td></tr></table><br><br>If i try to use the ISSkin, i get this error in the compilation procedure :<br><br>"Duplicate identifier 'INITIALIZESETUP'"<br><br>I looking for identifier manually and automatically. There is no duplicate!<br><br>This is probably problem with ISSI and ISSkin combination, 'cause when i delete the ISSI part, everything is ok!<br><br>Please help me with this! thx<br>]]>
   </description>
   <pubDate>Thu, 10 Feb 2011 02:49:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17854&amp;PID=62523&amp;title=isskin-error-duplicate-identifier-initializesetup#62523</guid>
  </item> 
 </channel>
</rss>