No subject

Fri Jul 28 15:43:40 BST 2006

Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to

WizardGetSelectedTasks to find out which tasks are selected if that's
what you mean.

>What I want to achieve is an extra screen/dialog
>appears with 'installing service', does the job and goes away again.

OutputProgress can do that. See ScriptDlg.iss in your ISX\Sample dir
for an exampla.

>The same for uninstall.

Sorry, but unfortunately the uninstaller doesn't support scripting  (I
mean [Code]).

>Also, how do you change the order that icons appear in the start menu?
>At the moment they appear to be random (I'd like readme at the top &
>uninstall at the bottom... at the moment they're in the middle).

Windows handles the sort order. New things are sorted alphabatically
AFAIK. Note that it sorts things including the '.lnk' extension, so
'My Program' ends up below 'My Program Help' unless you use 'My
Program ' to trick it. There is a registry key where Windows stores
the sort order (I forgot the name) but there's no Windows API call to
access/modify it.

>Finally, how do you set paths?  I can't find any functions that
>automate it...  Setting the user environment is probably easy enough
>(forget about AUTOEXEC.BAT though I'm not even going to try to parse
>that....) but w/o functions to slice the path into elements it's going
>to be difficult to avoid adding the same directory twice.

The path is stored under HKLM\System\CurrentControlSet\Control\Session
Manager\Environment. Support functions like Pos() can be used to scan
it if you want too. AUTOEXEC.BAT should be to hard either, just use
Load/SaveStringsFromFile and scan trough the string array.

Martijn Laan

More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook