Recuva Launcher Only (Test 2)*Updated*

Nathan9222's picture
Submitted by Nathan9222 on March 30, 2008 - 4:45pm

Application: Recuva
Category: Utilities
Description: Recuva (pronounced "recover") is a freeware Windows utility to restore files that have been accidentally deleted from your computer. This includes files emptied from the Recycle bin as well as images and other files that have been deleted by user error from digital camera memory cards or MP3 players. It will even bring back files that have been deleted by bugs, crashes and viruses!

Download Recuva Portable 1.13 Test 2 [161KB download / 207KB installed]
(MD5: 98c933d9152bd08d5ecf0a555fc65ed7)
Release Notes:This is a new release that now by default saves settings to recuva.ini, so please completely delete previous release and start off with this launcher.Please read (Release Notes)

Now there is no need to go to recuva.com, just run "RecuvaPortable.exe" and you will get a message box that will redirect you automatically to download necessary files.

Development Test 1 (2008-04-21): Initial release

Development Test 2 (2008-04-29):

  • Fixed issue where settings would not save if u used RecuvaPortable.ini
  • Minor changes to script

  • ( categories: )

    The other Piriform Products

    Can you also make launchers for CCleaner and Defraggler?

    Ill try defraggler

    ill try defraggler becuase CCleaner is fully portable.

    An eye for an eye makes the whole world blind.
    Mahatma Gandhi,
    Indian political and spiritual leader (1869 - 1948)

    Defraggler

    Thank you.

    I have finished the three.

    If you want me too I can email you the launcher's I made for them.

    Jacobm001

    Launchers

    I would appreciate an mail of the launchers. Use keizer_or [@] usa [.] com. THanks.

    [email address obfuscated by mod tim]

    Sorry,

    I lost the files when my computer crashed a couple weeks ago. :( If you need any help on the launchers though feel free to email me. jacob m 001 at gmail . com

    Jacobm001

    Two Things

    There are two things:

    1) You should rename the registry backup to 'recuva.reg' instead of 'Registry.reg' because when you use the backup function of PAM it will become unclear what this registry entry is for.
    2) You need to add 'SettingsDirectory=Data\settings' after 'RecuvaDirectory=App\rcsetup112' in order for the ini file to work correctly.

    I just messed around with the launcher for a bit, but it looks like it works.

    A couple of changes

    Have the launcher direct to the site if the program does not exist.

    on the splash screen line there is no fade, so change the 200 to the 0

    In the App\appinfo there is a thumbs.db file so delete that

    The registry thing that has already mentioned

    In the readme and in the code add your copyright under Johns

    Change the website to http://PortableApps.com/Development/test

    change the readme to be for recuva rather than sumtra pdf

    that is all for now

    Please search before posting. ~Thanks

    k

    Ill try to fix these as soon as i can, ill try to post an update later today, or sometime tomorrow. Quick question, how do u make it download the file if it is not there? Ill look in the Nsis manual to try to figuire that out.

    An eye for an eye makes the whole world blind.
    Mahatma Gandhi,
    Indian political and spiritual leader (1869 - 1948)

    good job

    I will take a look again at the paf stuff and see if there is anything else

    about directing them to where they have to download from check out this site

    IE Plugin

    Some more changes

    • In the Other\Source dir
      • In your code
        • Add your line of copyright under johns (make it look like this)
          ;Copyright (C) 2004-2008 John T. Haller
          ;Copyright (C) 2004-2008 Nathan
          
        • Change the Website to http://PortableApps.com/Development/test
      • In the readme
        • make the copyright look like this
          ;Copyright (C) 2004-2008 John T. Haller
          ;Copyright (C) 2004-2008 Nathan
          
      • change your JPEG (RecuvaPortable.jpg) to be the actual DevTest splash screen found here
      • There this line in the ini file
        ;Replace (Appname) with the name of your app, and (AppEXE) to the name of the executable of your app.
        

        what is it for?

    • In the App\ dir
      • Add a readme file check any released app to see what needs to be in it
      • Add the recuva dir so that people know where to put the program
    • In the main dir
      • Add the help.html file, once again check any released app for the format of the html file
    • General stuff
      • You need your icon to be: 16x16, 32x32, 48x48 in both 256 and xp.
      • Dont zip the installer. Just upload the installer

    that is all I found

    Please search before posting. ~Thanks

    Sub-Categorization

    I like it. :)

    did i get everything?

    i hope i did

    and does the idea of going to the download site if it does not exist work alright?

    Please search before posting. ~Thanks

    Isn't Recuva already portable?

    Maybe I'm missing something, but all Piriform products are fully portable. Moreover, I've been running Recuva from my USB drive for a few months, and never noticed it touching any registry settings.

    There is a setting in Options... > Advanced > Save all settings to INI file. When checked, it creates recuva.ini in the same folder as the exe file.

    When started, the program checks whether recuva.ini is present and if yes the settings are then loaded from there instead of the registry. I know this because I have two copies of Recuva installed - on HDD and USB drive, each copy with separate settings. The former uses registry and the latter stores its settings in the INI file.

    So basically your launcher is useless.

    well..

    I know about the .ini and all, but not only can you add my launcher to the PAM but it is easier for people who do not want to do that to just run it without changing anything. Plus since its in the PAM its easier to launch and keep track of applications.

    An eye for an eye makes the whole world blind.
    Mahatma Gandhi,
    Indian political and spiritual leader (1869 - 1948)

    Wow

    So basically your launcher is useless.

    That was nice, thanks for your input and making someone feel good today.

    It would be useless if all

    It would be useless if all you're trying to do is get it to run from a USB drive. But I've always found that even stand-alone launchers add structure and ease-of-use to applications. While I tend to just use stand-alone apps by themselves like you described, any self-contained, do-everything-for-you launcher only makes an app more accessable. And I think they are great entry point for learning this stuff.

    Could you be nicer?

    There is no need to be so rude. Also The launcher is not useless. If the .ini file is accidentally deleted or not copied or whatever the app will no longer be portable. The launcher can run make sure the .ini is present. Then if not create the .ini or if it is just start the app.

    Jacobm001

    i think.....

    I think i can do all that, but about not zipping it, esnips does not support paf files so it doesnt let me upload it. It will always say "File type not supported".

    An eye for an eye makes the whole world blind.
    Mahatma Gandhi,
    Indian political and spiritual leader (1869 - 1948)

    try askin patrick...

    if he will host for you

    or i can use mediafire to host for you as well

    Please search before posting. ~Thanks

    K

    What ever is easier for either u or patrick is fine for me. I should be having a development test 3 up soon. The only thing that is slowing me down is that whole "if app is not found make a redirect link to download it." I looked at that site and the examples but i think i need to do a bit of testing with that before i can upload. I pretty much did everything you said i needed to do.

    An eye for an eye makes the whole world blind.
    Mahatma Gandhi,
    Indian political and spiritual leader (1869 - 1948)

    Well

    I included in the help.html file the file u need to download, so i might later put that whole redirect thing in a later development test, I dont want to do it yet cause i read on there that if its done wrong it can cause memory leaks so.. I might do some testing with it before i release it to the public.

    An eye for an eye makes the whole world blind.
    Mahatma Gandhi,
    Indian political and spiritual leader (1869 - 1948)

    use mediafire...

    here it is

    http://www.mediafire.com/

    just create an account

    unless you really dont want to just say so and I can use my account to keep hosting the file for you

    Please search before posting. ~Thanks

    .Paf.Zip?

    Isn't it supposed to be paf.exe? If EXE's are not supported, try Mediafire

    Good Job

    about the icon try this one
    http://www.mediafire.com/?ddlt1mtdfpo

    Change the readme to say recuvaportable rather than sumtrapdfportable,
    right here

    -\ <--- Directory with SumatraPDFPortable.exe
    

    that is all i could find again.

    Please search before posting. ~Thanks

    k

    I made a mediafire account. Since a dev changed my topic name to recuva launcher, I am wondering if i can just make a .paf that says "recuva.paf
    'instead of all that dev test stuff. Oh yeah thanks 4 the icon. I should be uploading a new one soon.

    An eye for an eye makes the whole world blind.
    Mahatma Gandhi,
    Indian political and spiritual leader (1869 - 1948)

    There

    New Test up... Hope everything got fixed.

    An eye for an eye makes the whole world blind.
    Mahatma Gandhi,
    Indian political and spiritual leader (1869 - 1948)

    great job

    you have been really good with these releases
    if it was not for the "open-source" policy you would be ready to release

    here is one more thing, you don't need to release a new test but on the next big release you need this file

    In the Other\source dir you need a file called AppSource.txt
    it should contain this

    The source code for the base application in this package is available from the portable applications home page mentioned in the help.html file.
    

    Please search before posting. ~Thanks

    k...

    I guess i might try to add a bit to the launcher, that whole redirect thing. Do u know of any launchers that can do that??

    An eye for an eye makes the whole world blind.
    Mahatma Gandhi,
    Indian political and spiritual leader (1869 - 1948)

    here is the code i quickly made up

    IEFunctions::OpenBrowser /NOUNLOAD
    IEFunctions::SurfTo /NOUNLOAD "http://www.google.com"
    IEFunctions::ReleaseBrowser
    

    change the google thing to the download area, also see if you can launch FFP and go to that site

    Please search before posting. ~Thanks

    hmm

    I think there has to be a system call of some sort. It doesnt seem to work.

    An eye for an eye makes the whole world blind.
    Mahatma Gandhi,
    Indian political and spiritual leader (1869 - 1948)

    do u hav the plugin?

    cause u need it to run this function

    Please search before posting. ~Thanks

    Wait

    Nevermind I got it now. Ill try to do FFP if i can.

    An eye for an eye makes the whole world blind.
    Mahatma Gandhi,
    Indian political and spiritual leader (1869 - 1948)

    Ok...

    I was wondering if u can even do firefox. I was looking through plugins and didnt see anything. Unless you just change it to FFFunctions or something. Plus i added a little message box that tells you to press ok to download Recuva. Ill put it up so u can tell me what you think.

    An eye for an eye makes the whole world blind.
    Mahatma Gandhi,
    Indian political and spiritual leader (1869 - 1948)

    try this

    Exec '"..\FirefoxPortable\FirefoxPortable.exe" www.google.com'
    

    that will start firefoxportable (if it exists) and go to Google.

    Just replace google with the address you want to go to

    Please search before posting. ~Thanks

    Ok

    let me take down my link to add it. So it doesnt go to a new test

    An eye for an eye makes the whole world blind.
    Mahatma Gandhi,
    Indian political and spiritual leader (1869 - 1948)

    Weird i just tried..

    it and i have firefoxportable, but it didnt open it also, it only opened IE, will it only open the one that is easiest to find?? I have firefox on my usb, i think it needs to be on the computer.

    An eye for an eye makes the whole world blind.
    Mahatma Gandhi,
    Indian political and spiritual leader (1869 - 1948)

    Test 5

    Test 5 up. Tell me what you think about the IE thing.

    An eye for an eye makes the whole world blind.
    Mahatma Gandhi,
    Indian political and spiritual leader (1869 - 1948)

    looks good...

    here is the code I used to get it to work with FFP

    oProgramEXE:
    		;=== Program executable not where expected
    		StrCpy $MISSINGFILEORPATH $PROGRAMEXECUTABLE
    		MessageBox MB_OK|MB_ICONEXCLAMATION `$(LauncherFileNotFound)`
            MessageBox MB_OK|MB_ICONEXCLAMATION `$(LauncherDownload)`		
    Exec '"..\FirefoxPortable\FirefoxPortable.exe" http://www.recuva.com/download/builds/downloading-zip'
    
    		Abort
    

    and make the ok messagebox a Yes or No

    Please search before posting. ~Thanks

    The appsource.txt

    kinda makes you look lazy :P

    Somebody give me a portable video editor... Please!
    If ya wanna see my email, go to digitxpsemail.tk (at least for now!)
    My dad saved over $850 a month, by switching to Geico! :P

    k

    how do u add a function to the "No" button so when you hit it, it wont open the browser? Cause i got the yes and no buttons but i cant figuire out how to make it not open.

    An eye for an eye makes the whole world blind.
    Mahatma Gandhi,
    Indian political and spiritual leader (1869 - 1948)

    code

    MessageBox MB_YESNO "Click yes or no." IDYES jump_if_yes IDNO jump_if_no

    compile error

    says this

    Error: could not resolve label "jump_if_yes" in install section "Main" (0)
    Error - aborting creation process

    An eye for an eye makes the whole world blind.
    Mahatma Gandhi,
    Indian political and spiritual leader (1869 - 1948)

    LOL Ok, you need to read the

    LOL Ok, you need to read the NSIS help file on the MessageBox function. jump_if_yes and jump_if_no are placeholders, where you need to place your own labels (or relative jumps like +2 +5 etc.)

    MessageBox MB_YESNO "Choose." IDYES myyeslabel IDNO mynolabel
    
    or
    
    MessageBox MB_YESNO "Choose." IDYES 0 IDNO +3

    make it this...

    NoProgramEXE:
    		;=== Program executable not where expected
    		StrCpy $MISSINGFILEORPATH $PROGRAMEXECUTABLE
    		MessageBox MB_OK|MB_ICONEXCLAMATION `$(LauncherFileNotFound)`
            MessageBox MB_YESNO `$(LauncherDownload)` IDYES 0 IDNO +2
    Exec '"..\FirefoxPortable\FirefoxPortable.exe" http://www.recuva.com/download/builds/downloading-zip'
    
    		Abort
    

    Please search before posting. ~Thanks

    New release

    Please use this launcher for the latest release, also make sure u are getting the portable build from their site. No need to manually go ther, just click on recuvaportable.exe and you will be directed there automatically. Please tell me if there are any problems so I can correct them.

    An eye for an eye makes the whole world blind.
    Mahatma Gandhi,
    Indian political and spiritual leader (1869 - 1948)

    New Test 2

    Read above for changes, now you should be able to use RecuvaPortable.ini to disable splash without any problems. Changed script a bit so it looks organized. Please test and tell me what you think.

    An eye for an eye makes the whole world blind.
    Mahatma Gandhi,
    Indian political and spiritual leader (1869 - 1948)

    The launcher doesn't seem to

    The launcher doesn't seem to work... Once I put the files in "App\rcsetup113" I can get the splash screen, the the launcher exits. No errors, no Recova.

    I'm _guessing_ that something was coded specific to version 1.13 (since we're using rcsetup113 as the path) and the program is at 1.20... Not sure how you wold do that, but that's all I got ;-)

    The program does run directly just fine, though.... but I'd like an item in my PA Menu (Which is also why I disagree with the "launcher is useless" remark way above