Jump to content

myselfidem

Members
  • Posts

    600
  • Joined

  • Last visited

  • Days Won

    9

Everything posted by myselfidem

  1. Thanks for your interest! 1 - Inside your Autounattend.xml file keep only: <ImageInstall> <OSImage> <InstallTo> <DiskID>0</DiskID> <PartitionID>1</PartitionID> </InstallTo> <WillShowUI>OnError</WillShowUI> <InstallToAvailablePartition>false</InstallToAvailablePartition> </OSImage> 2 - Remember all passes are executed with Autounattend.xml AIO (x86 and amd64). 3 - Keep the same order, name, etc., for x86 and amd64 - if you want create partitions with Autounattend.xml file Note: I think the best way is to keep the choice for the OS to install and create partitions with GUI ! 4 - It's not a good idea to move Programs to partition E:\ (or other drive letter). When we want install a program this one wants install to C:\Program Files or C:\Program Files (x86) HTH
  2. Thank you Geej for clear explanations! Keep your good work. Regards
  3. Thanks Geej! Yes the Task is created on my computer with Windows 7 x86. However I put the Everything_Schedule.bat on a diet and works on Windows XP and Windows 7 x86. On Windows XP the task is created but the icon doesn't appear on the task bar ? Maybe you can add inside the Everything.inf the task command for Windows XP ? Everything_Schedule.bat ::*******************************************:::: Everything_Schedule.bat :::: Set variables TaskName, Task and go ahead :::: http://myunster.com]http://myunster.com ::::*******************************************::@ECHO offREM Set variablesSET TaskName=EverythingREM Following task will be executed on Logon:: Detect OS bit-ness on running system.:: Assumes 64-bit unless 64-bit components do not exist.SET "ARCH=64"IF NOT EXIST "%SystemRoot%\SysWOW64\cmd.exe" ( IF NOT DEFINED PROCESSOR_ARCHITEW6432 SET "ARCH=32" ) ::Begin install IF "%ARCH%"=="64" ( SET Task=\"C:\Program Files (x86)\Everything\Everything.exe\" -startup ) ELSE ( SET Task=\"C:\Program Files\Everything\Everything.exe\" -startup )REM Determine windows versionFOR /F "tokens=2* delims= " %%A IN ('REG QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v "ProductName"') DO SET OSVer=%%BECHO %OSVer% | FINDSTR /I "XP" >NULIF %ERRORLEVEL% == 0 GOTO ver_xpFOR /F "tokens=* delims= " %%A IN ('REG QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v "ProductName"') DO SET OS=%%AECHO %OS% | FINDSTR /I "Vista" >NULIF %ERRORLEVEL% == 0 GOTO ver_vistaECHO %OS% | FINDSTR /I "7" >NULIF %ERRORLEVEL% == 0 GOTO ver_7:ver_xpSCHTASKS /Create /TN "%TaskName%" /TR "%Task%" /RU "SYSTEM" /SC ONLOGONGOTO exit:ver_vista::Run Windows Vista specific commands here.GOTO Elevation:ver_7SCHTASKS /Create /TN "%TaskName%" /TR "%Task%" /SC ONLOGON /RL HIGHESTGOTO Elevation:ElevationREM Don't forget escape double quotes for CMD argument that you will pass to powershellPushD "%~dp0"IF EXIST "%~0.ELEVATED" DEL /F "%~0.ELEVATED"SET Argument=SCHTASKS /Create /F /TN \"%TaskName%\" /TR \"%Task%\" /SC ONLOGON /RL HIGHESTSET ELEVATED_CMD=PowerShell -Command (New-Object -com 'Shell.Application').ShellExecute('Cmd.exe', '/C %Argument%', '', 'runas')ECHO %ELEVATED_CMD% >> "%~0.ELEVATED"CALL %ELEVATED_CMD%DEL /F "%~0.ELEVATED"PopDGOTO exit:exitEXITSFX file updated on Mediafire for testing.Thanks and regards
  4. You can try: cmds[pn]=['"%systemdrive%\\Folder_Name\\MainExe.exe" /s /v/qn']; cond[pn]=['FileExists("C:\\Folder_Name\\MainExe.exe")']; Change Folder_Name with the location folder name!
  5. Yes, you're right Geej! I did not pay attention but the Task Schedule isn't created. Testing the new one you gave bphlpt (post #95) and doesn't create the Task Shedule. Thanks and regards File on MediaFire updated with previous Everything_Schedule.bat working...But can be improved!
  6. @bphlpt Tested your modified batch file and works really fine and it is faster than the previous one ! :dribble: Tested and works flawlessly on Windows XP 32bit and Windows 7 32bit and 64bit (without using xml file). Just needed to change the comment to: . @Geej Could you try the batch file given by bphlpt, please. File (SFX) updated on Mediafire for testing and including batch file's bphlpt ! French used Cheers and regards
  7. Thanks for the test! Yes it's in french, but it's just for testing! I made some changes inside Everything.inf, removing unwanted lines about xml files ! File updated on Mediafire. Now run faster and works immediately when the installation is done! Cheers
  8. Yes...I see now. The trouble is with the XP section. I disabled it inside the batch file...and now works fine. Test it a new time, please. File updated on Mediafire. Thanks and regards Tested also on VM Oracle and works fine!! https://skydrive.live.com/?cid=d178ea021b182b88&sc=documents&lc=1036&id=D178EA021B182B88%21114#cid=D178EA021B182B88&id=D178EA021B182B88%211512&sc=documents
  9. Yes bphlpt, double-clic on the exe file and wait a minute...You will see the EverythingSearch icon on the Taskbar. Restart your computer and thanks to share the result.
  10. Thanks! You can launch the SFX file on your computer and test it ! However the batch file worked fine with the previous EverythingSearch.exe and now there a problem with silent installation using VM Oracle about this new beta version (Maybe Everything.inf file ?) . I'm looking why ? But works fine on my computers x86 and x64bit !! When I have some time I will try your batch file! Cheers
  11. You can dowload SFX file as test here (given post #71): http://www.mediafire.com/?hp0b5c4nm2sdkThanks to point about this error: "GOTO exit:ver_vista" However: REM WinXP doesn't support TN for schtasks /query Cheers
  12. Thanks bphlpt trying to improve the batch file! The last command about "%~0.ELEVATED": CMD argument that you will pass to powershell! This text file is needed to past the text command file to powershell. You can try to downlaod my SFX file (EverythingSearch_v1.3.0.rar) and test it. Let us know the result, please. Link given previously. Regards
  13. Tested successfully on my computer with Windows 7 64bit and works really fine. Using the batch file given on my link (Mediafire) and without xml file! Everything_Schedule.bat ::*******************************************:::: Everything_Schedule.bat :::: Set variables TaskName, Task and go ahead :::: http://myunster.com]http://myunster.com ::::*******************************************::@ECHO offREM Delete variables, may be cachedSET "TaskName="SET "Task="REM Set variablesSET TaskName=EverythingREM Following task will be executed on Logon:PROCESSOR:: Detect OS bit-ness on running system. Assumes 64-bit unless 64-bit components do not exist.SET "ARCH=64"IF NOT EXIST "%SystemRoot%\SysWOW64\cmd.exe" ( IF NOT DEFINED PROCESSOR_ARCHITEW6432 SET "ARCH=32" ) ::Begin install IF "%ARCH%"=="64" ( SET Task=\"C:\Program Files (x86)\Everything\Everything.exe\" -startup ) ELSE ( SET Task=\"C:\Program Files\Everything\Everything.exe\" -startup )REM Determine if windows xpVER | find "XP" > NULIF %ERRORLEVEL% == 0 GOTO ver_xpREM Determine if windows Vista/Win7systeminfo | find "OS Name" > %TEMP%\osname.txtFOR /F "usebackq delims=: tokens=2" %%i IN (%TEMP%\osname.txt) DO SET Version=%%iDEL /F %TEMP%\osname.txtECHO %Version% | find "Windows 7" > NULIF %ERRORLEVEL% == 0 GOTO ver_7ECHO %Version% | find "Windows Vista" > NULIF %ERRORLEVEL% == 0 GOTO ver_vista::ver_xp:Run Windows XP specific commands here.REM Delete variable, may be cachedSET "Result="REM WinXP doesn't support TN for schtasks /queryFOR /F "delims=, tokens=2" %%R IN ('schtasks /query /fo csv /v ^| findstr /L /C:"%TaskName%"') DO SET Result=%%RIF (%Result%)==() SET Result="-1"IF "%TaskName%" == %Result% (REM Delete Task if it exists SCHTASKS /Delete /TN "%TaskName%" /F)REM Then Create on Logon running oneSCHTASKS /Create /TN "%TaskName%" /TR "%Task%" /SC ONLOGON /RL HIGHESTGOTO exit:ver_vista:Run Windows Vista specific commands here.GOTO Elevation:ver_7:Run Windows 7 specific commands here.GOTO Elevation:ElevationREM Don't forget escape double quotes for CMD argument that you will pass to powershellPushD "%~dp0"IF EXIST "%~0.ELEVATED" DEL /F "%~0.ELEVATED"SET Argument=SCHTASKS /Create /F /TN \"%TaskName%\" /TR \"%Task%\" /SC ONLOGON /RL HIGHESTSET ELEVATED_CMD=PowerShell -Command (New-Object -com 'Shell.Application').ShellExecute('Cmd.exe', '/C %Argument%', '', 'runas')ECHO %ELEVATED_CMD% >> "%~0.ELEVATED"CALL %ELEVATED_CMD%DEL /F "%~0.ELEVATED"PopDGOTO exit:exitEXIT All shorcuts are working also fine. Many thanks Regards *Edit: batch file updated to disable XP section (::ver_xp) because installation fails
  14. Thanks mooms! Now the trouble is solved using as test an SFX file made by Geej. Everything.inf is improved for "Everything Search Engine 1.3.0.632b" and to create the SFX file we must use a different method. Everything_Schedule.bat and Everything.inf must be outside of the folder Everything. And we must create an 7-Zip archive with the three (3) files. And create the config.txt. EverythingSearchEngine_1.3.0.txt (example). Given by Geej (post #9) ;!@Install@!UTF-8!GUIMode="2"OverwriteMode="0"RunProgram="rundll32 advpack.dll,LaunchINFSection Everything.inf,LiveInstall,3";!@InstallEnd@!And create the SFX exe file. All works fine! Regards
  15. Thanks Geej! Tested your SFX file on my computer Windows 7 x86 and works really fine... No more pop up alert window about cmd.exe Regards *Edit: I was the culprit inserting all files inside Everything folder, and there were always cmd.exe error!!!
  16. @Geej When I install using right-clic and select install works fine...But using silent install (SFX file) a black screen appears and the computer "freeze". I must restart the computer with the button. After restart a message box says: However, I thing the trouble is with Everything.inf I made some changes inside Everything.inf to avoid this error and works fine for me. You can test it if you want: http://www.mediafire.com/?hp0b5c4nm2sdkI made also some changes inside Everything_Schedule.bat HTH
  17. Check inside IE Options | Advanced , if the box is unchecked: Do not save encrypted pages to disk
  18. Maybe that can solve your issue! I changed inside Everything.inf: [CloseProgram]TASKKILL /F /IM Everything.exe /T You can download and try "EverythingSearch-1.3.rar" with the link given previously! HTH
  19. Updated EverythingSearch.rar (SFX file) with English language as default: http://www.mediafire.com/?hp0b5c4nm2sdk
  20. Strange, because I have no errors installing or uninstalling EverythingSearch.exe (SFX file) ! *Edit: You uninstall from Add/Remove programs ? As Geej asked you, look at C:\Windows\system32 to find tskill.exe
  21. You can test the SFX file Everything here: http://www.wincert.net/forum/topic/10499-how-to-convert-add-on-to-sfx-file/?p=94697 Thanks to share your result !
  22. Tip given by Geej for Everything.exe 1.3.0.632b works fine! I haven't read carefully. Thanks Geej *Edit: post updated
  23. Yes! There is a problem with the new update! Something changed inside the program "Everything.exe 1.3.0.632b" I found a workaround and works fine for me on Windows 7 x86. You can try to use this Everything.inf file instead. Note: I used inside SFX file and works fine ! Everything.rar
×
×
  • Create New...