Board index » delphi » create restore point

create restore point


2008-07-16 06:23:27 PM
delphi198
Hello,
some setup programs automatically crate a restore point on the System
Restore of Windows XP so if something gets wrong user can recover to the
last point before installation.
Is there any delphi way to automatically add a restore point before
installing my program? I use a custom installer written in Delphi.
Thanks
 
 

Re:create restore point

"Brayn" <XXXX@XXXXX.COM>skrev i meddelelsen
Quote
some setup programs automatically crate a restore point on the System
Restore of Windows XP so if something gets wrong user can recover to the
last point before installation.

Is there any delphi way to automatically add a restore point before
installing my program? I use a custom installer written in Delphi.
Use the source Luke.
According to this:
msdn.microsoft.com/en-us/library/aa378847(VS.85).aspx
there is WMI class that can be used through automation.
It should be possible to translate the shown VBScript to Delphi, but I
haven't tried.
--
Finn Tolderlund
 

Re:create restore point

"Brayn" <XXXX@XXXXX.COM>writes
Quote
Is there any delphi way to automatically add a restore point before
installing my program? I use a custom installer written in Delphi.
System Restore API
msdn.microsoft.com/en-us/library/aa378958(VS.85).aspx
Gambit
 

Re:create restore point

Here are a couple links that Google spit out:
www.tek-tips.com/faqs.cfm
www.delphi3000.com/articles/article_3575.asp?SK=