TechTalkz.com Logo

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Microsoft > Windows Vista All > Windows Vista - Installation/Setup

Notices

Re: Vista Hard Disk Recovery Solution problem

Windows Vista - Installation/Setup


Reply
 
Thread Tools Display Modes
Old 07-11-2008, 11:06 PM   #1
dyakesh
Guest
 
Posts: n/a
Re: Vista Hard Disk Recovery Solution problem


Whitepaper - Creating a Windows Vista Hard Disk and DVD Recover
I'm having the same issue.
Error message after selecting "system restore" (ie
oemfactoryrestore.exe)
"Tool failed to run. Try another tool.

The "Custom OEM Tool" within the "System Recovery Options" menu appears
just fine (which is created by oemfactoryrestore.exe...
oemfactoryrestore.exe should launch oemfactoryrestore.hta.

Visual C++ code:

#include\"stdafx.h\"
#include\"windows.h\"


int _tmain(int argc, _TCHAR* argv[])
{



ShellExecute(NULL,_T(\"open\"),_T(\"x:\\Windows\\S ystem32\\Mshta.exe\"),_T(\"x:\\sources\\recovery\\ tools\\OEMFactoryRestore.hta\"),NULL,SW_SHOW);


return 0;
}
:


Any ideas?
Thanks!


--
dyakesh
  Reply With Quote
Old 09-11-2008, 03:07 AM   #2
Rex
Guest
 
Posts: n/a
Re: Vista Hard Disk Recovery Solution problem

Hi dyakesh,
I got this to work, all I did was after I built it (F7) in
the white paper.
I selected Debig from the Solution Configurations drop-down box and run it.
Them when I when to copy OEMFactoryRestore.exe I COPY it from the Debug
folder not the release folder and this worked fine.
In the paper on page 39 the pic of all the files the OEMFactoryRestore.exe
is 298KB
In mine the one in the release folder is just 10KB, bit the one in the debug
folder was 1778KB. This is properly not the right way but it has worked.
--
Thank You
Rex


"dyakesh" wrote:

>
> Whitepaper - Creating a Windows Vista Hard Disk and DVD Recover
> I'm having the same issue.
> Error message after selecting "system restore" (ie
> oemfactoryrestore.exe)
> "Tool failed to run. Try another tool.
>
> The "Custom OEM Tool" within the "System Recovery Options" menu appears
> just fine (which is created by oemfactoryrestore.exe...
> oemfactoryrestore.exe should launch oemfactoryrestore.hta.
>
> Visual C++ code:
>
> #include\"stdafx.h\"
> #include\"windows.h\"
>
>
> int _tmain(int argc, _TCHAR* argv[])
> {
>
>
>
> ShellExecute(NULL,_T(\"open\"),_T(\"x:\\Windows\\S ystem32\\Mshta.exe\"),_T(\"x:\\sources\\recovery\\ tools\\OEMFactoryRestore.hta\"),NULL,SW_SHOW);
>
>
> return 0;
> }
> :
>
>
> Any ideas?
> Thanks!
>
>
> --
> dyakesh
>

  Reply With Quote
Old 18-11-2008, 12:07 AM   #3
dyakesh
Guest
 
Posts: n/a
Re: Vista Hard Disk Recovery Solution problem


Hi Rex,
I tried your idea and came up with the same size executable, but still
no go.
The other support files/tools do work so I'm guessing it's just not
starting/finding the oemfactoryrestore.hta.

I selected "start debugging" from the "debug" pull down menu. Is this
correct?
After you select debug, do you "F7" again?

Thanks for the assistance!
If you can think of anything else to try please pass it my way.

Dennis


--
dyakesh
  Reply With Quote
Old 19-11-2008, 08:07 AM   #4
Rex
Guest
 
Posts: n/a
Re: Vista Hard Disk Recovery Solution problem

G'day dyakesh
No, I did not run F7 after the debug but should not make
a Difference,
and I set debug in the drop down menu box where release is, and then click
on the green start debuging button. When the debug stopped I when to
Documents\ Visual Studio 2008\ Projects\ OEMFactoryRestore\ Debug and copy
the OEMFactoryRestore.exe. hope this will help.

Rex


"dyakesh" wrote:

>
> Hi Rex,
> I tried your idea and came up with the same size executable, but still
> no go.
> The other support files/tools do work so I'm guessing it's just not
> starting/finding the oemfactoryrestore.hta.
>
> I selected "start debugging" from the "debug" pull down menu. Is this
> correct?
> After you select debug, do you "F7" again?
>
> Thanks for the assistance!
> If you can think of anything else to try please pass it my way.
>
> Dennis
>
>
> --
> dyakesh
>

  Reply With Quote
Reply

Thread Tools
Display Modes



< Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT +5.5. The time now is 08:02 PM.


vBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2009, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional