Always a failure in the last seconds :embarrassed:
Please correct line 169 with
ChangeInterface,Write,Value,%ScriptFile%,Interface,pLocBaseVer,%PCIIDVer%
here is a workaround for fileinfo.exe space bug for current plugin:
Shellexecute,Hide,%GlobalTemp%\FileInfo.exe," #$q%ProvideFiles%\%ProgramEXE%#$q -FileVersion -ini",%GlobalTemp%
IniRead,%GlobalTemp%\FileInfo.ini,%ProgramEXE%,FileVersion,%var%
-->
Call,FileCreateBlank,%GlobalTemp%\FileInfo.ini,OverWrite
TxtAddLine,%GlobalTemp%\FileInfo.ini,"[%ProgramEXE%]",Append
Shellexecute,Hide,cmd.exe,"/c FileInfo.exe #$q%ProvideFiles%\%ProgramEXE%#$q>>FileInfo.ini",%GlobalTemp%
TxtReplace,%GlobalTemp%\FileInfo.ini," : ",=
IniRead,%GlobalTemp%\FileInfo.ini,%ProgramEXE%,FileVersion,%var%
***
never use %GlobalTemp% , use %ProjectTemp%, %GlobalTemp% is reserved and may change in future, %ProjectTemp% is static :great:
I feel simply replacing all %GlobalTemp% to %ProjectTemp% would do the trick.
*****
very nice plugin, good work :great: :great:
:cheers:
When I tested everything was ok, but now there is some stupid error appearing on project build.
Quick fix, instead:
// Retrive files - Simpler is right now for both architectures
If,%pSelSourceCheckBox%,Equal,True,Begin
If,Not,ExistDir,%Source_Folderx86%,DirMake,%Source_Folderx86%
If,Not,ExistDir,%Source_Folderx64%,DirMake,%Source_Folderx64%
If,Not,ExistFile,%Source_Folderx86%\%Source_Arhx86%,ExtractFile,%ScriptFile%,Folder,"PCI-Zx86.zip",%Source_Folderx86%
FileRename,"%Source_Folderx86%\PCI-Zx86.zip","%Source_Folderx86%\%Source_Arhx86%"
If,Not,ExistFile,%Source_Folderx64%\%Source_Arhx64%,ExtractFile,%ScriptFile%,Folder,"PCI-Zx64.zip",%Source_Folderx64%
FileRename,"%Source_Folderx64%\PCI-Zx64.zip","%Source_Folderx64%\%Source_Arhx64%"
End
//
should be:
// Retrive files - Simpler is right now for both architectures
If,%pSelSourceCheckBox%,Equal,True,Begin
If,Not,ExistDir,%Source_Folderx86%,DirMake,%Source_Folderx86%
If,Not,ExistDir,%Source_Folderx64%,DirMake,%Source_Folderx64%
If,ExistFile,"%Source_Folderx86%\%Source_Arhx86%", FileDelete,"%Source_Folderx86%\%Source_Arhx86%",NoWarn
ExtractFile,%ScriptFile%,Folder,"PCI-Zx86.zip",%Source_Folderx86%
FileRename,"%Source_Folderx86%\PCI-Zx86.zip","%Source_Folderx86%\%Source_Arhx86%"
If,ExistFile,"%Source_Folderx64%\%Source_Arhx64%", FileDelete,"%Source_Folderx64%\%Source_Arhx64%",NoWarn
ExtractFile,%ScriptFile%,Folder,"PCI-Zx64.zip",%Source_Folderx64%
FileRename,"%Source_Folderx64%\PCI-Zx64.zip","%Source_Folderx64%\%Source_Arhx64%"
End
//
I apologize for the inconvenience :embarrassed:
Edit: Check 1. post
Hi Nikky,
as requested, added to server now
Call,DownloadX,"%BaseDir%\Projects\Yomi\AppY\System Tools\HW Info\PCI-Z.Script"
See: Downloading Plugins with a CodeBox (http://TheOven.org/index.php?topic=2672.0)
only cosmetics and +1 changed line due to compatibility ...
*
I have a request, can you make PCI-Z Plugin to use different folders following source
eg. %ProgramFolder_x64%=PCI-Z_x64
all other plugins already prepared that way .......
:turtle:
Hi Nikky,,
keep in mind it has different "pci id"
Legacy 1.31 version is just updating with the same pci id base.
Thanks for the info, my mistake. :thumbsup:
Both new Plugins are on server now
Call,DownloadX,"%BaseDir%\Projects\Yomi\AppY\System Tools\HW Info\PCI-Z.Script"
Call,DownloadX,"%BaseDir%\Projects\Yomi\AppY\System Tools\HW Info\PCI-Z_Legacy.Script"
See: Downloading Plugins with a CodeBox (http://TheOven.org/index.php?topic=2672.0)
Neext :cheers:
:turtle: