Guest Posted November 28, 2008 Posted November 28, 2008 ok thanks rick for help me i must test verbox tomarowa need help me create installer.bat to (move to new folder,delete ) shortcut.lnk at frist logoninow logout bay i read reply tomarow Quote
ricktendo Posted November 28, 2008 Author Posted November 28, 2008 If you post the names and locations of the files/folders I will show you how this can be done also with config.txt Quote
Guest Posted November 28, 2008 Posted November 28, 2008 If you post the names and locations of the files/folders I will show you how this can be done also with config.txtHi rick I testing addon on VirtualBox with big S and small s but dont work from svcpack and test from other location user\Desktop\SilentSwitchMakereror.rarand this is my req some shortcut may not exit EXISTreq.txt Quote
ricktendo Posted November 28, 2008 Author Posted November 28, 2008 mona are you blind?The S you are using is small, geez!!!Make a new 7zsd.sfx, if you "split" it from a previous non working installer it sometimes keeps/remembers the info from the non working config.txt Quote
Guest Posted November 28, 2008 Posted November 28, 2008 mona are you blind?The S you are using is small, geez!!!this is picture of error for small s and not install but when using big S Nothing get error and not install :sad02: :sad01_anim: Quote
Guest Posted November 29, 2008 Posted November 29, 2008 (edited) how to make new 7zsd.sfx ? i always using orginal 7zsd.sfx downloaded from frist topic Edited November 29, 2008 by mona Quote
ricktendo Posted November 29, 2008 Author Posted November 29, 2008 If you are using a sfx you split from another silent switch installer it remembers the config.txt, if you are doing this then make a new one from the one you downloaded with icon and stuffMona this is simple, here is your error (pay attention this is the last time I will discuss this):;!@Install@!UTF-8!RunProgram="Windows_Live_Mail.msi /qn /norestart"AutoInstall="hidcon:reg add HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnceEx\\WindowsLive /v Install /d %%s\\WindowsLiveMail.exe /f"GUIMode="2";!@InstallEnd@!Use this config.txt instead:;!@Install@!UTF-8!RunProgram="Windows_Live_Mail.msi /qn /norestart"AutoInstall="hidcon:reg add HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnceEx\\WindowsLive /v Install /d %%S\\WindowsLiveMail.exe /f"GUIMode="2";!@InstallEnd@! Quote
Guest Posted November 29, 2008 Posted November 29, 2008 If you are using a sfx you split from another silent switch installer it remembers the config.txt, if you are doing this then make a new one from the one you downloaded with icon and stuffMona this is simple, here is your error (pay attention this is the last time I will discuss this):Use this config.txt instead:;!@Install@!UTF-8!RunProgram="Windows_Live_Mail.msi /qn /norestart"AutoInstall="hidcon:reg add HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnceEx\\WindowsLive /v Install /d %%S\\WindowsLiveMail.exe /f"GUIMode="2";!@InstallEnd@! i using your config but not write in registry this is my sfx7zsd.rar Quote
ricktendo Posted November 29, 2008 Author Posted November 29, 2008 Where are you from?So I can maybe ask somebody who knows your language to explain it to youThis is the last time I will explain, use this config.txt with a new fresh 7zsd.sfx (remake it, start from scratch);!@Install@!UTF-8!RunProgram="Windows_Live_Mail.msi /qn /norestart"AutoInstall="hidcon:reg add HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnceEx\\WindowsLive /v Install /d %%S\\WindowsLiveMail.exe /f"GUIMode="2";!@InstallEnd@!I think your error is you made a silent switch installer with a config.txt that did not work, then you tried to make a new silent switch installer with a new config.txt but instead of making a fresh 7zsd.sfx you opened WindowsLiveMail.exe in 7zip splitter and retrieved the sfx and made your new installer with the new config.txtThe problem with this is when you do this the 7zsd.sfx you split from the old bad installer will remember the old broken config.txt data and you will not be able to fix or change your bad switch or add regSo start with everything new Quote
Guest Posted November 29, 2008 Posted November 29, 2008 Where are you from?So I can maybe ask somebody who knows your language to explain it to youThis is the last time I will explain, use this config.txt with a new fresh 7zsd.sfx (remake it, start from scratch);!@Install@!UTF-8!RunProgram="Windows_Live_Mail.msi /qn /norestart"AutoInstall="hidcon:reg add HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnceEx\\WindowsLive /v Install /d %%S\\WindowsLiveMail.exe /f"GUIMode="2";!@InstallEnd@!I think your error is you made a silent switch installer with a config.txt that did not work, then you tried to make a new silent switch installer with a new config.txt but instead of making a fresh 7zsd.sfx you opened WindowsLiveMail.exe in 7zip splitter and retrieved the sfx and made your new installer with the new config.txtThe problem with this is when you do this the 7zsd.sfx you split from the old bad installer will remember the old broken config.txt data and you will not be able to fix or change your bad switch or add regSo start with everything newThankyou very much rick I CREATED NEW WIN XP ON VirtualBox With new config.txt and my new 7zsd.sfx with big S and worked .thankyou very much :graduated: :throb: :beerchug: :worthy: Quote
ENU_user Posted December 1, 2008 Posted December 1, 2008 well :cheff: if the sfx isn't fresh sometimes that will cause the switchless install to fail no matter how many times you remake it ...ill see if i can make some switchless install maker that will auto grab switches from a list and give an convert to runonceX installer (optionally) Quote
ricktendo Posted December 1, 2008 Author Posted December 1, 2008 But I mean literally the config.txt will stay embedded into the split sfx, so never reuse a sfx you split from another silent switch installerHere is a nLite.sfx I split from my silent switch nLite.exe installer you can clearly see the config.txt still incorporated into the sfx and its impossible to overwrite it Quote
Guest Posted December 1, 2008 Posted December 1, 2008 But I mean literally the config.txt will stay embedded into the split sfx, so never reuse a sfx you split from another silent switch installerHere is a nLite.sfx I split from my silent switch nLite.exe installer you can clearly see the config.txt still incorporated into the sfx and its impossible to overwrite itrick do you can help me for creation req Quote
ss3vegeta Posted December 31, 2008 Posted December 31, 2008 Someone over at msfn.org suggested I watch these videos, I must say they are excellently done. Thank you so much for taking the time to create them. Do you by chance still plan to make the 4th video? I hope you do because I found the videos to be very informative. For me there is a huge difference between reading a tutorial and watching someone demonstrate it, there is just no comparison. Thank you,ss3 Quote
SunLion Posted May 15, 2009 Posted May 15, 2009 Thank you for the tutorial Rick. I want to create one addon of a program of type EXE to be installed by the RunOnceEX. Would be necessary to include the line Quote
ricktendo Posted May 15, 2009 Author Posted May 15, 2009 Yes you need to add the AutoInstall section and during svcpack you need to launch your 7zsfx.exe with the command -ai example[EditFile]I386\SVCPACK.INF,SetupHotfixesToRun,AddProgram[AddProgram]NameOfInstaller.exe -aiThis way the program will not install it will simply add the RunOnceEx entries and when your PC reboots and you 1st log in the installer will be launched (without the -ai switch) and it will do what is in RunProgram section of config.txtBTW the example config.txt is on the 1st post Quote
SunLion Posted May 15, 2009 Posted May 15, 2009 Yes you need to add the AutoInstall section and during svcpack you need to launch your 7zsfx.exe with the command -ai example[EditFile]I386\SVCPACK.INF,SetupHotfixesToRun,AddProgram[AddProgram]NameOfInstaller.exe -aiThis way the program will not install it will simply add the RunOnceEx entries and when your PC reboots and you 1st log in the installer will be launched (without the -ai switch) and it will do what is in RunProgram section of config.txtBTW the example config.txt is on the 1st postOK, Rick. Then, for example, if to want to make this with nlite- 1.4.9.1 - installer.exe, the config.txt archives and entries_nlite.ini would be in the way below?Config.txt:;!@Install@!UTF-8!AutoInstall="hidcon:reg add HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnceEx\\nlite /v Install /d %%S\\ nLite-1.4.9.1.installer.exe /VERYSILENT /MERGETASKS=desktopicon /NORESTART /f"GUIMode="2";!@InstallEnd@!Entries_nlite.ini:[general]builddate=15.05.2009description=language=Portuguese Brtitle=nLiteversion=1.4.9.1website=[EditFile]I386\SVCPACK.INF,SetupHotfixesToRun,AddProgram[AddProgram]nLite_Addon.exe -ai Quote
ricktendo Posted May 15, 2009 Author Posted May 15, 2009 No, you dont need to make a RunOnceEx addon for nLite because it will install fine during SVCPACK;!@Install@!UTF-8!RunProgram="nLite-1.4.9.1.installer.exe /VERYSILENT /MERGETASKS=desktopicon /NORESTART"GUIMode="2";!@InstallEnd@![general]builddate=15.05.2009description=language=Portuguese Brtitle=nLiteversion=1.4.9.1website=[EditFile]I386\SVCPACK.INF,SetupHotfixesToRun,AddProgram[AddProgram]nLite_Addon.exe Quote
SunLion Posted May 15, 2009 Posted May 15, 2009 Thank you, Rick. It pardons me for insisting, but I want to learn to create addon of type EXE to install for runonce Quote
ricktendo Posted May 15, 2009 Author Posted May 15, 2009 You do the RunProgram same as you would do it normally, you add what you want to happen when you double click it...the AutoInstall is extra it is what will happen if you add -ai to the exe, it will skip RunProgram and it will do whatever you put in AutoInstall sections in this case we add some reg entries to not run the installer now but to run it during 1st loginHere is what your nLite example would look like corrected;!@Install@!UTF-8!RunProgram="nLite-1.4.9.1.installer.exe /VERYSILENT /MERGETASKS=desktopicon /NORESTART"AutoInstall="hidcon:reg add HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnceEx\\nLite /ve /d \"nLite Addon\" /f"AutoInstall="hidcon:reg add HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnceEx\\nLite /v Install /d %%S\\ nLite_Addon.exe /f"GUIMode="2";!@InstallEnd@!See if you run nLite_Addon.exe it will install normally, but if you run it with the -ai switch it will not install, instead it will add ROEx entries with the path to wherever you launched nLite_Addon.exe from (thats what %%S is the path to the silent installer) and it will run and do whatever is in RunProgramBTW I added the extra Reg Add line you can remove it you dont need it but this is what it will display (disregard the error box) Quote
SunLion Posted May 16, 2009 Posted May 16, 2009 (edited) Thanks a lot Rick! I go to test and rank the result. :thumbsup_anim:Hi Rick, All addons had worked very well! It sees image below:It remains only one doubt: exactly that I add the RunCleanupX2 finally in the nlite, it always is executed first. And I want that it is executed finally! It has as to determine the sequence of installation through enclosed commands REG in the config.txt archive?Solved!In the line of REG ADD, It substitutes the name of the program for a sequential numeration, as below:AutoInstall="hidcon:reg add HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnceEx\\010 /ve /d \"nLite Addon\" /f"AutoInstall="hidcon:reg add HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnceEx\\010 /v Install /d %%S\\ nLite_Addon.exe /f"This decided the problem. :thumbsup_anim: Edited May 18, 2009 by xspeed_one Quote
war59312 Posted May 23, 2009 Posted May 23, 2009 Do you by chance still plan to make the 4th video?I hope you do because I found the videos to be very informative.For me there is a huge difference between reading a tutorial and watching someone demonstrate it, there is just no comparison.Thank you,ss3Bump. :thumbsup_anim: Quote
Rigamortis Posted June 14, 2009 Posted June 14, 2009 Links in the first post are dead for a couple... Quote
ricktendo Posted June 14, 2009 Author Posted June 14, 2009 CMenu link fixed, the orca msi editor was on shark007 tools page which I dont know the new link for that or if he is even maintaining it Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.