![]() |
|
|||||||
| Notices |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
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 |
|
|
|
#2 |
|
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 > |
|
|
|
#3 |
|
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 |
|
|
|
#4 |
|
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 > |
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
< Windows Help - MS Office Help - Hardware Support >
| New To Site? | Need Help? |