+#----------------------------------------------------------------------
+
+ISS_DocDemo_Template = r'''
+
+[Setup]
+AppName = wxPython%(SHORTVER)s-docs-demos
+AppVerName = wxPython Docs and Demos %(VERSION)s
+OutputBaseFilename = wxPython%(SHORTVER)s-win32-docs-demos-%(VERSION)s
+AppCopyright = Copyright © 2006 Total Control Software
+DefaultDirName = {pf}\wxPython%(SHORTVER)s Docs and Demos
+DefaultGroupName = wxPython%(SHORTVER)s Docs Demos and Tools
+PrivilegesRequired = none
+OutputDir = dist
+WizardStyle = modern
+DisableStartupPrompt = true
+Compression = bzip
+DirExistsWarning = no
+DisableReadyMemo = true
+DisableReadyPage = true
+;;DisableDirPage = true
+DisableProgramGroupPage = no
+UsePreviousAppDir = no
+UsePreviousGroup = no
+
+AppPublisher = Total Control Software
+AppPublisherURL = http://wxPython.org/
+AppSupportURL = http://wxPython.org/maillist.php
+AppUpdatesURL = http://wxPython.org/download.php
+AppVersion = %(VERSION)s
+
+UninstallDisplayIcon = {app}\demo\wxpdemo.ico
+UninstallFilesDir = {app}
+LicenseFile = licence\licence.txt
+
+;; WizardDebug = yes
+
+
+;;------------------------------------------------------------
+
+
+[Files]
+Source: "demo\demo.py"; DestDir: "{app}\demo"; DestName: "demo.pyw";
+Source: "demo\*.py"; DestDir: "{app}\demo";
+Source: "demo\*.xml"; DestDir: "{app}\demo";
+Source: "demo\*.txt"; DestDir: "{app}\demo";
+Source: "demo\*.ico"; DestDir: "{app}\demo";
+
+Source: "demo\bitmaps\*.bmp"; DestDir: "{app}\demo\bitmaps";
+Source: "demo\bitmaps\*.gif"; DestDir: "{app}\demo\bitmaps";
+Source: "demo\bitmaps\*.jpg"; DestDir: "{app}\demo\bitmaps";
+Source: "demo\bitmaps\*.png"; DestDir: "{app}\demo\bitmaps";
+Source: "demo\bitmaps\*.ico"; DestDir: "{app}\demo\bitmaps";
+
+Source: "demo\bmp_source\*.gif"; DestDir: "{app}\demo\bmp_source";
+Source: "demo\bmp_source\*.bmp"; DestDir: "{app}\demo\bmp_source";
+Source: "demo\bmp_source\*.jpg"; DestDir: "{app}\demo\bmp_source";
+Source: "demo\bmp_source\*.png"; DestDir: "{app}\demo\bmp_source";
+Source: "demo\bmp_source\*.ico"; DestDir: "{app}\demo\bmp_source";
+
+Source: "demo\data\*.htm"; DestDir: "{app}\demo\data";
+Source: "demo\data\*.html"; DestDir: "{app}\demo\data";
+Source: "demo\data\*.py"; DestDir: "{app}\demo\data";
+Source: "demo\data\*.png"; DestDir: "{app}\demo\data";
+Source: "demo\data\*.bmp"; DestDir: "{app}\demo\data";
+Source: "demo\data\*.dat"; DestDir: "{app}\demo\data";
+Source: "demo\data\*.txt"; DestDir: "{app}\demo\data";
+Source: "demo\data\*.wav"; DestDir: "{app}\demo\data";
+Source: "demo\data\*.wdr"; DestDir: "{app}\demo\data";
+Source: "demo\data\*.xrc"; DestDir: "{app}\demo\data";
+Source: "demo\data\*.swf"; DestDir: "{app}\demo\data";
+Source: "demo\data\*.mpg"; DestDir: "{app}\demo\data";
+
+;;Source: "demo\dllwidget\*.cpp"; DestDir: "{app}\demo\dllwidget";
+;;Source: "demo\dllwidget\*.py"; DestDir: "{app}\demo\dllwidget";
+;;Source: "demo\dllwidget\Makefile"; DestDir: "{app}\demo\dllwidget";
+;;Source: "demo\dllwidget\makefile.*"; DestDir: "{app}\demo\dllwidget";
+
+Source: "licence\*.txt"; DestDir: "{app}\docs\licence";
+Source: "%(WXDIR)s\docs\htmlhelp\wx.chm"; DestDir: "{app}\docs";
+;;Source: "%(WXDIR)s\docs\htmlhelp\ogl.chm"; DestDir: "{app}\docs";
+Source: "docs\README.txt"; DestDir: "{app}\docs"; Flags: isreadme;
+Source: "docs\*.txt"; DestDir: "{app}\docs";
+Source: "docs\*.css"; DestDir: "{app}\docs";
+Source: "docs\*.html"; DestDir: "{app}\docs";
+Source: "docs\*.conf"; DestDir: "{app}\docs";
+Source: "docs\screenshots\*.png"; DestDir: "{app}\docs\screenshots";
+
+
+Source: "samples\doodle\*.py"; DestDir: "{app}\samples\doodle";
+Source: "samples\doodle\*.txt"; DestDir: "{app}\samples\doodle";
+Source: "samples\doodle\*.bat"; DestDir: "{app}\samples\doodle";
+Source: "samples\doodle\sample.ddl"; DestDir: "{app}\samples\doodle";
+Source: "samples\doodle\superdoodle.iss"; DestDir: "{app}\samples\doodle";
+
+Source: "samples\docview\*.py"; DestDir: "{app}\samples\docview";
+Source: "samples\pydocview\*.py"; DestDir: "{app}\samples\pydocview";
+Source: "samples\pydocview\*.png"; DestDir: "{app}\samples\pydocview";
+Source: "samples\pydocview\*.txt"; DestDir: "{app}\samples\pydocview";
+
+Source: "samples\ide\*.py"; DestDir: "{app}\samples\ide";
+Source: "samples\ide\activegrid\*.py"; DestDir: "{app}\samples\ide\activegrid";
+Source: "samples\ide\activegrid\tool\*.py"; DestDir: "{app}\samples\ide\activegrid\tool";
+Source: "samples\ide\activegrid\tool\data\*.txt"; DestDir: "{app}\samples\ide\activegrid\tool\data";
+Source: "samples\ide\activegrid\util\*.py"; DestDir: "{app}\samples\ide\activegrid\util";
+Source: "samples\ide\activegrid\model\*.py"; DestDir: "{app}\samples\ide\activegrid\model";
+
+Source: "samples\embedded\*.py"; DestDir: "{app}\samples\embedded";
+Source: "samples\embedded\*.cpp"; DestDir: "{app}\samples\embedded";
+Source: "samples\embedded\*.txt"; DestDir: "{app}\samples\embedded";
+Source: "samples\embedded\*.vc"; DestDir: "{app}\samples\embedded";
+Source: "samples\embedded\*.unx"; DestDir: "{app}\samples\embedded";
+Source: "samples\embedded\*.ico"; DestDir: "{app}\samples\embedded";
+Source: "samples\embedded\*.xpm"; DestDir: "{app}\samples\embedded";
+Source: "samples\embedded\*.rc"; DestDir: "{app}\samples\embedded";
+
+Source: "samples\frogedit\*.py"; DestDir: "{app}\samples\frogedit";
+
+Source: "samples\hangman\*.py"; DestDir: "{app}\samples\hangman";
+
+Source: "samples\mainloop\*.py"; DestDir: "{app}\samples\mainloop";
+
+Source: "samples\pySketch\*.py"; DestDir: "{app}\samples\pySketch";
+Source: "samples\pySketch\images\*.bmp"; DestDir: "{app}\samples\pySketch\images";
+
+Source: "samples\simple\*.py"; DestDir: "{app}\samples\simple";
+
+Source: "samples\StyleEditor\*.txt"; DestDir: "{app}\samples\StyleEditor";
+Source: "samples\StyleEditor\*.py"; DestDir: "{app}\samples\StyleEditor";
+Source: "samples\StyleEditor\*.cfg"; DestDir: "{app}\samples\StyleEditor";
+
+Source: "samples\wxProject\*.txt"; DestDir: "{app}\samples\wxProject";
+Source: "samples\wxProject\*.py"; DestDir: "{app}\samples\wxProject";
+
+
+
+Source: "scripts\pyshell"; DestDir: "{app}\scripts"; DestName: "pyshell.pyw";
+Source: "scripts\pycrust"; DestDir: "{app}\scripts"; DestName: "pycrust.pyw";
+Source: "scripts\pyalamode"; DestDir: "{app}\scripts"; DestName: "pyalamode.pyw";
+Source: "scripts\pyalacarte"; DestDir: "{app}\scripts"; DestName: "pyalacarte.pyw";
+Source: "scripts\xrced"; DestDir: "{app}\scripts"; DestName: "xrced.pyw";
+
+Source: "wx\py\PyCrust.ico"; DestDir: "{app}\scripts";
+Source: "wx\tools\XRCed\xrced.ico"; DestDir: "{app}\scripts";
+
+
+;;------------------------------------------------------------
+
+[Icons]
+Name: "{group}\Run the wxPython DEMO"; Filename: "{app}\demo\demo.pyw"; WorkingDir: "{app}\demo"; IconFilename: "{app}\demo\wxpdemo.ico";
+Name: "{group}\PyCrust"; Filename: "{app}\scripts\pycrust.pyw"; WorkingDir: "c:\"; IconFilename: "{app}\scripts\PyCrust.ico";
+Name: "{group}\PyShell"; Filename: "{app}\scripts\pyshell.pyw"; WorkingDir: "c:\"; IconFilename: "{app}\scripts\PyCrust.ico";
+Name: "{group}\PyAlaMode"; Filename: "{app}\scripts\pyalamode.pyw"; WorkingDir: "c:\"; IconFilename: "{app}\scripts\PyCrust.ico";
+Name: "{group}\PyAlaCarte"; Filename: "{app}\scripts\pyalacarte.pyw"; WorkingDir: "c:\"; IconFilename: "{app}\scripts\PyCrust.ico";
+Name: "{group}\Resource Editor"; Filename: "{app}\scripts\xrced.pyw"; WorkingDir: "c:\"; IconFilename: "{app}\scripts\xrced.ico";
+
+Name: "{group}\Sample Apps"; Filename: "{app}\samples";
+
+Name: "{group}\wxWidgets Reference"; Filename: "{app}\docs\wx.chm";
+Name: "{group}\Migration Guide"; Filename: "{app}\docs\MigrationGuide.html";
+Name: "{group}\Recent Changes"; Filename: "{app}\docs\CHANGES.html";
+Name: "{group}\Other Docs"; Filename: "{app}\docs";
+
+Name: "{group}\Uninstall wxPython Docs and Demos"; Filename: "{uninstallexe}";
+
+
+
+
+;;------------------------------------------------------------
+
+[UninstallDelete]
+Type: files; Name: "{app}\demo\*.pyc";
+Type: files; Name: "{app}\demo\*.pyo";
+Type: files; Name: "{app}\demo\data\showTips";
+Type: files; Name: "{app}\demo\data\*.pyc";
+Type: files; Name: "{app}\demo\data\*.pyo";
+Type: files; Name: "{app}\demo\dllwidget\*.pyc";
+Type: files; Name: "{app}\demo\dllwidget\*.pyo";
+
+Type: files; Name: "{app}\samples\doodle\*.pyc";
+Type: files; Name: "{app}\samples\doodle\*.pyo";
+Type: files; Name: "{app}\samples\embedded\*.pyc";
+Type: files; Name: "{app}\samples\embedded\*.pyo";
+Type: files; Name: "{app}\samples\frogedit\*.pyc";
+Type: files; Name: "{app}\samples\frogedit\*.pyo";
+Type: files; Name: "{app}\samples\hangman\*.pyc";
+Type: files; Name: "{app}\samples\hangman\*.pyo";
+Type: files; Name: "{app}\samples\hangman\*.txt";
+Type: files; Name: "{app}\samples\mainloop\*.pyc";
+Type: files; Name: "{app}\samples\mainloop\*.pyo";
+Type: files; Name: "{app}\samples\pySketch\*.pyc";
+Type: files; Name: "{app}\samples\pySketch\*.pyo";
+Type: files; Name: "{app}\samples\simple\*.pyc";
+Type: files; Name: "{app}\samples\simple\*.pyo";
+Type: files; Name: "{app}\samples\StyleEditor\*.pyc";
+Type: files; Name: "{app}\samples\StyleEditor\*.pyo";
+Type: files; Name: "{app}\samples\wx_examples\basic\*.pyc";
+Type: files; Name: "{app}\samples\wx_examples\basic\*.pyo";
+Type: files; Name: "{app}\samples\wx_examples\hello\*.pyc";
+Type: files; Name: "{app}\samples\wx_examples\hello\*.pyo";
+Type: files; Name: "{app}\samples\wxProject\*.pyc";
+Type: files; Name: "{app}\samples\wxProject\*.pyo";
+
+Type: files; Name: "{app}\samples\ide\*.pyc";
+Type: files; Name: "{app}\samples\ide\activegrid\*.pyc";
+Type: files; Name: "{app}\samples\ide\activegrid\tool\*.pyc";
+Type: files; Name: "{app}\samples\ide\activegrid\util\*.pyc";
+Type: files; Name: "{app}\samples\ide\activegrid\model\*.pyc";
+Type: files; Name: "{app}\samples\ide\*.pyo";
+Type: files; Name: "{app}\samples\ide\activegrid\*.pyo";
+Type: files; Name: "{app}\samples\ide\activegrid\tool\*.pyo";
+Type: files; Name: "{app}\samples\ide\activegrid\util\*.pyo";
+Type: files; Name: "{app}\samples\ide\activegrid\model\*.pyo";
+
+Type: files; Name: "{app}\samples\docview\*.pyc";
+Type: files; Name: "{app}\samples\pydocview\*.pyc";
+Type: files; Name: "{app}\samples\docview\*.pyo";
+Type: files; Name: "{app}\samples\pydocview\*.pyo";
+
+
+'''