PDA

View Full Version : I Need A Little Help With Inno Setup



Tmpj
12-13-2003, 05:45 AM
I'm trying to learn a little bit about this cool little fellow! ;)
I got a little problem too, lets say that we have these lines:


Source: "C:\MyApp\MyApp.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\MyApp\1\*.*"; DestDir: "{app}\1"; Flags: ignoreversion recursesubdirs
Source: "C:\MyApp\2\*.*"; DestDir: "{app}\2"; Flags: ignoreversion recursesubdirs
Source: "C:\MyApp\3\*.*"; DestDir: "{app}\3"; Flags: ignoreversion recursesubdirs
Source: "C:\MyApp\4\*.*"; DestDir: "{app}\4"; Flags: ignoreversion recursesubdirs
After that I want the installer to create an empty dir called 5, how do I do that?

And let it be said, I've already tryed Google.

I.am
12-13-2003, 07:04 AM
I haven't used it yet.
Not sure but this might help you empty dir (http://www.jrsoftware.org/iskb.php?filesemptydirs)

Tmpj
12-18-2003, 06:40 PM
I need a little more assistance for my little project.

In the "Select Components" section, I need to add a components witch adds some registry keys to the registry. How is that done? I need both the code for the component itself and to make it available in the select section.

Kunal
12-18-2003, 07:02 PM
Use Istools, its a addon for inno setup that makes it childs play B)

Oh yeh and for dir 5


Source: "C:\MyApp\myapp2\*.*"; DestDir: "{app}\5"; Flags: ignoreversion recursesubdirs

Tmpj
12-18-2003, 07:35 PM
Originally posted by I.am+13 December 2003 - 20:02--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td>QUOTE (I.am &#064; 13 December 2003 - 20:02)</td></tr><tr><td id='QUOTE'> I haven&#39;t used it yet.
Not sure but this might help you empty dir (http://www.jrsoftware.org/iskb.php?filesemptydirs) [/b]

Thanks for the link I.am,
It didn&#39;t directly help me, but it lead me to the right page in the Help file&#33; :lol: ;) :D


<!--QuoteBegin-Kunal@18 December 2003 - 20:02
Use Istools, its a addon for inno setup that makes it childs play&nbsp; B)

Oh yeh and for dir 5


Source&#58; &#34;C&#58;&#092;MyApp&#092;myapp2&#092;*.*&#34;; DestDir&#58; &#34;{app}&#092;5&#34;; Flags&#58; ignoreversion recursesubdirs [/quote]
Thanks Kunal,
I&#39;ll play around with that IsTool thingy&#33; ;) :P
Looks really nice.

Entity101
12-18-2003, 08:39 PM
Read the help file&#33; It&#39;s all in there.



&#91;Dirs&#93;
Name&#58; &#34;{app}&#092;5&#34;

Tmpj
12-18-2003, 08:40 PM
I&#39;ve just run into another problem, when you are having componenets witch the user can select from, I need to have the dropdown menu (Full installation, Compact installation, Custom installation) disabled/removed like in the installation for KaZaA Lite K++ 2.4.3

And yes, I&#39;ve already searched Google MANY times, and searched the help file&#33;

Tmpj
12-19-2003, 08:50 PM
Please guys, I&#39;ve tryed to find an option for it in IsTool, and searched the Inno Setup help file a lot of times, plus searched Google a million times.