The only way i've found with INNO for starting pd with the pd tools I've developed and necessary options -nogui is my favorite one) is about including a batch file. I am actually looking for a way to compile a windows executable that would start pd with necessary options (-open, -nogui, -lib, '-etcaetera...'), if anyone has a solution, it might not be difficult for a "c" geek to show it, or may be there is a simplier or better solution? Here is a copy of my .iss file (pd only starts when I launch directly the batch file, but not with clicking on shortcuts made by INNO, I hope this helps.
; Script generated by the Inno Setup Script Wizard. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
[Setup] AppName=Mediale AppVerName=Mediale 1.0 DefaultDirName={pf}\Mediale DefaultGroupName=Mediale AllowNoIcons=yes LicenseFile=C:\Program Files\Inno Setup 5\license.txt ; InfoBeforeFile=C:\Program Files\Inno Setup 5\Examples\Readme.txt ; InfoAfterFile=C:\Program Files\Inno Setup 5\Examples\ISPPExample1License.txt OutputBaseFilename=MediaLe Compression=lzma SolidCompression=yes
[Languages] Name: "english"; MessagesFile: "compiler:Default.isl" Name: "french"; MessagesFile: "compiler:Languages\French.isl"
[Tasks] Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files] Source: "C:\pd39\MediaLe.bat*"; DestDir: "{app}"; Flags: ignoreversion Source: "C:\pd39\asio*"; DestDir: "{app}\asio"; Flags: ignoreversion recursesubdirs createallsubdirs Source: "C:\pd39\bin*"; DestDir: "{app}\bin"; Flags: ignoreversion recursesubdirs createallsubdirs Source: "C:\pd39\tcl*"; DestDir: "{app}\tcl"; Flags: ignoreversion recursesubdirs createallsubdirs Source: "C:\pd39\lib*"; DestDir: "{app}\lib"; Flags: ignoreversion recursesubdirs createallsubdirs Source: "C:\pd39\extra\vasp*"; DestDir: "{app}\patch\vasp"; Flags: ignoreversion recursesubdirs createallsubdirs Source: "C:\pd39\patch\Rastaplay*"; DestDir: "{app}\patch"; Flags: ignoreversion recursesubdirs createallsubdirs Source: "C:\pd39\extra\Gem.dll"; DestDir: "{app}\extra"; Flags: ignoreversion Source: "C:\pd39\extra\zexy.dll"; DestDir: "{app}\extra"; Flags: ignoreversion Source: "C:\pd39\extra\tot.dll"; DestDir: "{app}\extra"; Flags: ignoreversion Source: "C:\pd39\extra\widget.dll"; DestDir: "{app}\extra"; Flags: ignoreversion Source: "C:\pd39\extra\OSC.dll"; DestDir: "{app}\extra"; Flags: ignoreversion Source: "C:\pd39\extra\xsample.dll"; DestDir: "{app}\extra"; Flags: ignoreversion Source: "C:\pd39\extra\expr.dll"; DestDir: "{app}\extra"; Flags: ignoreversion Source: "C:\pd39\extra\stripdir.dll"; DestDir: "{app}\extra"; Flags: ignoreversion Source: "C:\pd39\extra\cyclone.dll"; DestDir: "{app}\extra"; Flags: ignoreversion Source: "C:\pd39\extra\hammer.dll"; DestDir: "{app}\extra"; Flags: ignoreversion Source: "C:\pd39\extra\maxmode.dll"; DestDir: "{app}\extra"; Flags: ignoreversion Source: "C:\pd39\extra\fiddle~.dll"; DestDir: "{app}\extra"; Flags: ignoreversion Source: "C:\pd39\extra\init.dll"; DestDir: "{app}\extra"; Flags: ignoreversion Source: "C:\pd39\extra\py.dll"; DestDir: "{app}\extra"; Flags: ignoreversion ; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons] Name: "{group}\Mediale"; Filename: "{app}\MediaLe.bat" Name: "{group}{cm:UninstallProgram,Mediale}"; Filename: "{uninstallexe}" Name: "{userdesktop}\Mediale"; Filename: "{app}\MediaLe.bat"; Tasks: desktopicon Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\Mediale"; Filename: "{app}\MediaLe.bat"; Tasks: quicklaunchicon
[Run] Filename: "{app}\MediaLe.bat"; Description: "{cm:LaunchProgram,Mediale}"; Flags: nowait postinstall skipifsilent
___________________________________________________________________________ Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. http://fr.answers.yahoo.com