ptrex Posted December 14, 2006 Share Posted December 14, 2006 @JdeBSince months the COMPILE with RESOURCE HACKER doesn't work anymore on my machine.Nevertheless the same SciTE4AutoIt3 version on an other machine works fine.The error I am getting is : ! RC.Exe (1) : Error : Resources information will not be updated in target program!Now when I compare the files in C:\Program Files\AutoIt3\SciTe\AutoIt3Wrapper\I see that in my machine where it doesn't work there are 2 files extra called :C:\Program Files\AutoIt3\SciTe\AutoIt3Wrapper\Rc.exeC:\Program Files\AutoIt3\SciTe\AutoIt3Wrapper\Rcdll.dllOn the other machine they are not there. But when removed it still does not work ?The other files in there are :C:\Program Files\AutoIt3\SciTe\AutoIt3Wrapper\AutoIt3Wrapper.au3C:\Program Files\AutoIt3\SciTe\AutoIt3Wrapper\AutoIt3Wrapper.exeC:\Program Files\AutoIt3\SciTe\AutoIt3Wrapper\AutoIt3Wrapper.ini.exampleC:\Program Files\AutoIt3\SciTe\AutoIt3Wrapper\Directives.au3I have already removed the whole dir and reinstalled the SciTE4AutoIt3, but no success.Any tips are highly appreciated.Regards,ptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
ptrex Posted December 15, 2006 Author Share Posted December 15, 2006 @JdeB Any news on this one ? I checked again on an other PC where SciTE is installed and I don' t find any RC.EXE there ? Why is this needed and how can I configure my machine not to use RC.EXE when compiling with ResHacker, to update the version info. I am puzzled at the moment that one machine works fine without it ? Or at least I can't find the RC.EXE anywhere. Thanks ptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
Developers Jos Posted December 15, 2006 Developers Share Posted December 15, 2006 (edited) @JdeBAny news on this one ?I checked again on an other PC where SciTE is installed and I don' t find any RC.EXE there ?Why is this needed and how can I configure my machine not to use RC.EXE when compiling with ResHacker,to update the version info.I am puzzled at the moment that one machine works fine without it ? Or at least I can't find the RC.EXE anywhere.ThanksptrexThis is how it works:AutoiT3Wrapper creates a Text resource file which needs to be compiled by RC.exe.The generated output file is used by Reshacker to update the resource information of a copy of AutoitSC.bin which is then used by AUT2EXE to create your exe.AutoIt3Wrapper will FileInstall RC.exe and RCdll.dll to the @tempdir, then change the current directory to @tempdir and run RC.exe.The LOG output of this RC run is dumped in @TempDir & '\rc.log'. In your case it says "rc.exe is not recognized as an internal of external command" which means to me that the RC.exe file is not available in your @tempdir or the FileChangeDir(@TempDir) failed. Edited December 15, 2006 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Polyphem Posted December 18, 2006 Share Posted December 18, 2006 Had the same problem. I looked up the @tempdir\rc.log (in my case c:\windows\temp\rc.log) and found the error message "temp.RC (2): error RC2104 : undefined keyword or key name: v"... What did I do wrong? I used "V0.8.9.7" as version-number and this is an invalid input. When i just use '0.8.9.7', the update with Resource Hacker works fine. Check the rc.log and see, if you also use invalid input. This post will be edited again by Polyphem: Tomorrow, 11:55 AM Link to comment Share on other sites More sharing options...
Developers Jos Posted December 18, 2006 Developers Share Posted December 18, 2006 Had the same problem. I looked up the @tempdir\rc.log (in my case c:\windows\temp\rc.log) and found the error message "temp.RC (2): error RC2104 : undefined keyword or key name: v"... What did I do wrong? I used "V0.8.9.7" as version-number and this is an invalid input. When i just use '0.8.9.7', the update with Resource Hacker works fine. Check the rc.log and see, if you also use invalid input.He has a different problem,... for some reason, I don't understand yet, RC.exe is not found and when copied and ran manually in the @TEMPDIR, it gives a different error then you descibe.I have made a change to AutoItwrapper to convert any none numeric value in the Version field to 0 to avoid the problem you described. It will display an error in the output pane about it. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Polyphem Posted December 18, 2006 Share Posted December 18, 2006 any none numeric value in the Version field to 0Hopefully not any, spare the Dot please ... This post will be edited again by Polyphem: Tomorrow, 11:55 AM Link to comment Share on other sites More sharing options...
ptrex Posted December 21, 2006 Author Share Posted December 21, 2006 @JdeB Your last AutoITWrapper did the job !! Everything works fine again now. For the interest of the others : The reason why it didn't work on my PC is that I had changed my default path in the CMD via the registry. Normally it is set by default to open at c:\%USERPROFILE%. But I had changed it to op at C:\ This resulted in a not working AutoITWrapper, in order to update the Versions Info via RESHACKER. Now JdeB has solved it in a new version of the Wrapper. Nice job after half a year of not being able to update anymore, this is a nice Christmas present for me. Thanks again. And see you all around. regards ptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now