knowledge-database (beta)

Current group: jrsoftware.innosetup

creating system restore point

creating system restore point  
Andrew Brill
 Re: creating system restore point  
Martijn Laan
 Re: creating system restore point  
C. Adrian Silasi [536428]
 Re: creating system restore point  
Andrew Brill
 Re: creating system restore point  
Martijn Laan
 Re: creating system restore point  
Andrew Brill
 Re: creating system restore point  
Michael Bell
 Re: creating system restore point  
Andrew Brill
 Re: creating system restore point  
Gavin Lambert
 Re: creating system restore point  
Michael Bell
 Re: creating system restore point  
Andrew Brill
 Re: creating system restore point  
rps
From:Andrew Brill
Subject:creating system restore point
Date:Thu, 16 Dec 2004 09:36:30 -0000
This code was posted a while back:
http://news.jrsoftware.org/news/innosetup/msg33222.html

Has anyone used it? Any problems? I saw a followup message that said it
errors on Win ME but as the minimum spec for our software is 2000 I'm not
too bothered about that. I'm just interested that it doesn't affect win2000
and that it runs on xp with no problems.

Thanks.
From:Martijn Laan
Subject:Re: creating system restore point
Date:Thu, 16 Dec 2004 12:08:28 +0100
Hi,

Andrew Brill wrote:
>I saw a followup message that said it
> errors on Win ME but as the minimum spec for our software is 2000 I'm not
> too bothered about that.

I could be wrong but I don't think 2003 supports restore points either.
They ditched it for something else.

Greetings,
Martijn Laan
--
// Live Good. Do Right. Ride Hard.
//
// Inno Setup QuickStart Pack: http://www.jrsoftware.org/isdl.php#qsp
// My Inno Setup Extensions: http://isx.wintax.nl
From:C. Adrian Silasi [536428]
Subject:Re: creating system restore point
Date:Sat, 18 Dec 2004 01:18:08 -0000
XP/2003 Pro also has system restore (e.g. x64 version) so it was *not*
ditched.

It is not present in the Server versions for whatever reason but it is in
Pro builds.

"Martijn Laan" wrote in message
news:cprqbd$tlp$1@news.jrsoftware.org...
> Hi,
>
> Andrew Brill wrote:
>>I saw a followup message that said it errors on Win ME but as the minimum
>>spec for our software is 2000 I'm not too bothered about that.
>
> I could be wrong but I don't think 2003 supports restore points either.
> They ditched it for something else.
>
> Greetings,
> Martijn Laan
> --
> // Live Good. Do Right. Ride Hard.
> //
> // Inno Setup QuickStart Pack: http://www.jrsoftware.org/isdl.php#qsp
> // My Inno Setup Extensions: http://isx.wintax.nl
From:Andrew Brill
Subject:Re: creating system restore point
Date:Thu, 16 Dec 2004 11:20:37 -0000
I think you could be right - I can't find the system restore icon on our
server anyway...
I can't believe they removed it! IMO it's the best thing Microsoft have
ever added to windows - it's saved me loads of times.

>
> I could be wrong but I don't think 2003 supports restore points either.
> They ditched it for something else.
>
> Greetings,
> Martijn Laan
> --
> // Live Good. Do Right. Ride Hard.
> //
> // Inno Setup QuickStart Pack: http://www.jrsoftware.org/isdl.php#qsp
> // My Inno Setup Extensions: http://isx.wintax.nl
From:Martijn Laan
Subject:Re: creating system restore point
Date:Thu, 16 Dec 2004 12:35:32 +0100
Hi,

Andrew Brill wrote:
> I can't believe they removed it! IMO it's the best thing Microsoft have
> ever added to windows - it's saved me loads of times.

Really? IMHO was a pile of junk and I'm glad they got rid of it. The way
it monitored files based on a list of file extensions was just
completely stupid. Even that list itself was weirdly chosen, it for
example included GDB, the Interbase database file extension!

Greetings,
Martijn Laan
--
// Live Good. Do Right. Ride Hard.
//
// Inno Setup QuickStart Pack: http://www.jrsoftware.org/isdl.php#qsp
// My Inno Setup Extensions: http://isx.wintax.nl
From:Andrew Brill
Subject:Re: creating system restore point
Date:Thu, 16 Dec 2004 13:10:44 -0000
Ah I've never studied how it works and I have to admit I've found it
unpredictable with regards to what it restores and what it doesn't but the
undeniable fact is I've reinstalled XP about once a year on average while
all previous OS's have seen me reinstalling around once per month. Windows
doesn't last long around me :)

I might just not bother with system restore as I'm not sure i'm happy with
the reliance on vb script being installed and enabled. Plan b is to move an
msi i run after install to the beginning of setup as it creates a restore
point anyway

"Martijn Laan" wrote in message
news:cprru5$u8c$1@news.jrsoftware.org...
> Hi,
>
> Andrew Brill wrote:
>> I can't believe they removed it! IMO it's the best thing Microsoft have
>> ever added to windows - it's saved me loads of times.
>
> Really? IMHO was a pile of junk and I'm glad they got rid of it. The way
> it monitored files based on a list of file extensions was just completely
> stupid. Even that list itself was weirdly chosen, it for example included
> GDB, the Interbase database file extension!
>
> Greetings,
> Martijn Laan
> --
> // Live Good. Do Right. Ride Hard.
> //
> // Inno Setup QuickStart Pack: http://www.jrsoftware.org/isdl.php#qsp
> // My Inno Setup Extensions: http://isx.wintax.nl
From:Michael Bell
Subject:Re: creating system restore point
Date:Thu, 16 Dec 2004 18:49:28 -0800
Here's the delphi code (so should adapt pretty well to inno, dunno) for a
pure, nonvbscript approach

http://www.swissdelphicenter.com/en/showcode.php?id=1650 (it lists both the
vbscript and dll approach)

You are correct in wondering if vbscript is reliable. It is preinstalled on
both these systems but removable. Furthermore many AV scriptblockers would
screw you up.

But..... since Systsm Restore points are available only on Windows XP and
ME, and have indeed been dropped on 2003 Server, the point is questionable.

BTW I suspect the reason why the code wasn't reliable on ME is because of
this note from MSDN

Windows Me: By design, SRSetRestorePoint fails if there are pending file
rename operations. Therefore, to avoid a failure, call SRSetRestorePoint
only after the computer has been rebooted. Pending file operations are
stored in the Wininit.ini file.


I translate this as saying Restore Points are pretty worthless in ME, as
that is a big inconvenience. Still I sure do like them in XP. Ah well.

-- y

"Andrew Brill" wrote in message
news:cps1dg$bg$1@news.jrsoftware.org...
> Ah I've never studied how it works and I have to admit I've found it
> unpredictable with regards to what it restores and what it doesn't but the
> undeniable fact is I've reinstalled XP about once a year on average while
> all previous OS's have seen me reinstalling around once per month. Windows
> doesn't last long around me :)
>
> I might just not bother with system restore as I'm not sure i'm happy with
> the reliance on vb script being installed and enabled. Plan b is to move
> an msi i run after install to the beginning of setup as it creates a
> restore point anyway
>
> "Martijn Laan" wrote in message
> news:cprru5$u8c$1@news.jrsoftware.org...
>> Hi,
>>
>> Andrew Brill wrote:
>>> I can't believe they removed it! IMO it's the best thing Microsoft have
>>> ever added to windows - it's saved me loads of times.
>>
>> Really? IMHO was a pile of junk and I'm glad they got rid of it. The way
>> it monitored files based on a list of file extensions was just completely
>> stupid. Even that list itself was weirdly chosen, it for example included
>> GDB, the Interbase database file extension!
>>
>> Greetings,
>> Martijn Laan
>> --
>> // Live Good. Do Right. Ride Hard.
>> //
>> // Inno Setup QuickStart Pack: http://www.jrsoftware.org/isdl.php#qsp
>> // My Inno Setup Extensions: http://isx.wintax.nl
>
>
From:Andrew Brill
Subject:Re: creating system restore point
Date:Fri, 17 Dec 2004 09:14:28 -0000
Thanks I'm not great with Pascal but I'll give it a go!


"Michael Bell" wrote in message
news:cpthft$fmq$1@news.jrsoftware.org...
> Here's the delphi code (so should adapt pretty well to inno, dunno) for a
> pure, nonvbscript approach
>
> http://www.swissdelphicenter.com/en/showcode.php?id=1650 (it lists both
> the vbscript and dll approach)
>
> You are correct in wondering if vbscript is reliable. It is preinstalled
> on both these systems but removable. Furthermore many AV scriptblockers
> would screw you up.
>
> But..... since Systsm Restore points are available only on Windows XP and
> ME, and have indeed been dropped on 2003 Server, the point is
> questionable.
>
> BTW I suspect the reason why the code wasn't reliable on ME is because of
> this note from MSDN
>
> Windows Me: By design, SRSetRestorePoint fails if there are pending file
> rename operations. Therefore, to avoid a failure, call SRSetRestorePoint
> only after the computer has been rebooted. Pending file operations are
> stored in the Wininit.ini file.
>
>
> I translate this as saying Restore Points are pretty worthless in ME, as
> that is a big inconvenience. Still I sure do like them in XP. Ah well.
>
> -- y
>
> "Andrew Brill" wrote in message
> news:cps1dg$bg$1@news.jrsoftware.org...
>> Ah I've never studied how it works and I have to admit I've found it
>> unpredictable with regards to what it restores and what it doesn't but
>> the undeniable fact is I've reinstalled XP about once a year on average
>> while all previous OS's have seen me reinstalling around once per month.
>> Windows doesn't last long around me :)
>>
>> I might just not bother with system restore as I'm not sure i'm happy
>> with the reliance on vb script being installed and enabled. Plan b is to
>> move an msi i run after install to the beginning of setup as it creates a
>> restore point anyway
>>
>> "Martijn Laan" wrote in message
>> news:cprru5$u8c$1@news.jrsoftware.org...
>>> Hi,
>>>
>>> Andrew Brill wrote:
>>>> I can't believe they removed it! IMO it's the best thing Microsoft
>>>> have ever added to windows - it's saved me loads of times.
>>>
>>> Really? IMHO was a pile of junk and I'm glad they got rid of it. The way
>>> it monitored files based on a list of file extensions was just
>>> completely stupid. Even that list itself was weirdly chosen, it for
>>> example included GDB, the Interbase database file extension!
>>>
>>> Greetings,
>>> Martijn Laan
>>> --
>>> // Live Good. Do Right. Ride Hard.
>>> //
>>> // Inno Setup QuickStart Pack: http://www.jrsoftware.org/isdl.php#qsp
>>> // My Inno Setup Extensions: http://isx.wintax.nl
>>
>>
>
>
From:Gavin Lambert
Subject:Re: creating system restore point
Date:Fri, 17 Dec 2004 16:04:50 +1300
Michael Bell wrote:
> Windows Me: By design, SRSetRestorePoint fails if there are pending file
> rename operations. Therefore, to avoid a failure, call SRSetRestorePoint
> only after the computer has been rebooted. Pending file operations are
> stored in the Wininit.ini file.
>
>
> I translate this as saying Restore Points are pretty worthless in ME, as
> that is a big inconvenience. Still I sure do like them in XP. Ah well.

Well, *technically* you're not supposed to be installing anything when
there are pending rename operations either (since the system might be in
a slightly funny state). Not that it seems to bother most people :)
From:Michael Bell
Subject:Re: creating system restore point
Date:Fri, 17 Dec 2004 12:13:49 -0800
Right but in this case it deliberately fails and its vague as to WHERE the
files are (system files, sure)

--

"Gavin Lambert" wrote in message
news:cptici$ftv$1@news.jrsoftware.org...
> Michael Bell wrote:
>> Windows Me: By design, SRSetRestorePoint fails if there are pending
>> file rename operations. Therefore, to avoid a failure, call
>> SRSetRestorePoint only after the computer has been rebooted. Pending file
>> operations are stored in the Wininit.ini file.
>>
>>
>> I translate this as saying Restore Points are pretty worthless in ME,
>> as that is a big inconvenience. Still I sure do like them in XP. Ah well.
>
> Well, *technically* you're not supposed to be installing anything when
> there are pending rename operations either (since the system might be in a
> slightly funny state). Not that it seems to bother most people :)
From:Andrew Brill
Subject:Re: creating system restore point
Date:Thu, 16 Dec 2004 09:52:39 -0000
What does erstellt mean? babelfish reckons 'provides' but that doesn't make
much sense. I'm guessing created or successful?

And I see it uses vb script. Is that always available in XP?


"Andrew Brill" wrote in message
news:cprkrd$qfj$1@news.jrsoftware.org...
> This code was posted a while back:
> http://news.jrsoftware.org/news/innosetup/msg33222.html
>
> Has anyone used it? Any problems? I saw a followup message that said it
> errors on Win ME but as the minimum spec for our software is 2000 I'm not
> too bothered about that. I'm just interested that it doesn't affect
> win2000 and that it runs on xp with no problems.
>
> Thanks.
>
From:rps
Subject:Re: creating system restore point
Date:Thu, 16 Dec 2004 11:58:03 +0100
Andrew Brill schrieb:
> What does erstellt mean? babelfish reckons 'provides' but that doesn't make
> much sense. I'm guessing created or successful?

'Erstellt' in this context means 'created'

>
> And I see it uses vb script. Is that always available in XP?
>
>
> "Andrew Brill" wrote in message
> news:cprkrd$qfj$1@news.jrsoftware.org...
>
>>This code was posted a while back:
>>http://news.jrsoftware.org/news/innosetup/msg33222.html
>>
>>Has anyone used it? Any problems? I saw a followup message that said it
>>errors on Win ME but as the minimum spec for our software is 2000 I'm not
>>too bothered about that. I'm just interested that it doesn't affect
>>win2000 and that it runs on xp with no problems.
>>
>>Thanks.
>>
>
>
>
   

Copyright © 2006 knowledge-database   -   All rights reserved