Archive: System Restore plugin


System Restore plugin
I created this plugin in less than 24 hours, added the plugin to the scons stucture, compiled it and made a zip and installer, and the size is 2.5KB. How good am I?

Just extract the contents to your NSIS directory.

NSIS Development Team: I can upload the source if you want to include this plugin with your distribution installer.

http://nsis.sourceforge.net/System_Restore_Plugin


Yes, JasonFriday13 your great!

If you need another challenge:

I will propose an un-installer issue still to fix in NSIS under W95/W98/W98SE

From a theoretical perspective I know how to solve it, but I have not done so, being a quite bussy man.


Sorry, I made a few mistakes in the example script and the docs. I didn't document the InstallFailed function properly.

Note: There will be no new versions since the code is so simple. Also, I will (probably) not be able to view the NSIS forums for the next few months (until the middle of February), it just depends on whether I have access to the internet.

http://nsis.sourceforge.net/System_Restore_Plugin


And here is the source ready for scons compiling.

Attachment removed; see http://nsis.sourceforge.net/System_Restore_Plugin for source.


Could you create a NSIS Wiki page for it? The forum is too big to post contributions: it could be easily lost.


Finally, I have done a simple wiki page here. I ran out of time on the public computer so it just links back to here to download it.


I have finally been able to finish the wiki page. It has the dll and the source code on it. The link is above.


Just uploaded an updated version. Is now easier to use, added a couple of comments to the source code, made the source a .C file, and combined the source and plugin package together. Now the source code is under the Contrib\SysRestore folder. Also updated the wiki page here.


Need info for error code: 1457832
Hello,
SysRestore is a great PlugIn - thank you. I use this on some machines without any problems, but on one PC i become an error with the code 1457832 while closing the SysRestore point. Have anybody some information about this error code?
Thanks Ma2xx


whenever i use this plugin, i get a messagebox reporting "0". happens once on start and finish. same with the example scripts.


That would be me. Fixed.

Searching Google for SRSetRestorePoint and 1457832 returns nothing. Are you sure that error code is correct?

Stu


Even err.exe can't find 1457832.


does anybody know if it's possible to read the names of past restore points? i want to add the option to my uninstaller to select a restore point to revert.


found some info on it, but by default access to that directory is denied. anyway, thought i'd share it with you.


Is it possible, that the plugin has a small glitch with NSIS Unicode?

It correctly set the restore point, but it shows just the first letter of the name in the system restore dialog:

http://img137.imageshack.us/img137/9...restore.th.png

I set the name of the restore point to 'Blah', but it just shows, 'B' in the restore points.


SysRestore::StartRestorePoint /NOUNLOAD "Blah"


Except for this, the rest is working fine.
Or do I miss something?

Hello guys,

I have some issues with the description on Windows 7 64 bits :
http://img15.hostingpics.net/thumbs/...246Capture.png

I entered an enlish text, but it seems that the characters are converted to Chinese !

Any ideas ?


Are you mixing the Unicode plug-in with ANSI NSIS or vice-versa?

Stu


Thanks ! That was it !
I was using the unicode version of the plugin...