I use InnoSetup to deliver my applications to Windows users, and I'd like to 
modify the way the Uninstall process works, but I dont know how to do it.

At present, when the user starts the Unistall process, the following code 
executes:

----------
[Code]
function InitializeUninstall(): Boolean;
begin
  Result := MsgBox('Starting the Uninstall process, also the Preferences files 
(containing your settings) will be deleted.' #13 'If you do NOT want to lose 
such files, click the NO button; then manually delete the application located 
at: yourDrive:\Program Files.' #13 'Do you want to procede?' , mbConfirmation, 
MB_YESNO) = idYES;
  if Result = False then
    MsgBox('Uninstall process cancelled.', mbInformation, MB_OK);
  end;

[UninstallDelete]
Type: filesandordirs; Name: "{userappdata}\myApp Preferences"
---------

So, the user either uninstalls everything or stops the process altogether.

What I'd would like to achieve is to be able to offer the user the choice 
either to uninstall everything (i.e. both application and Preferences) or to 
uninstall the application only, or to stop the process.

Since my attempts to insert a new boolean governing the Yes/No buttons in a 
different way failed, I'd appreciate if some InnoSetup guru helped me in 
re-writing the above snippet in order to accomplish what I'd like to achieve.

Thanks,
-- 
Carlo
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to