Jump to content

ZileXa

Member
  • Posts

    833
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Netherlands

Everything posted by ZileXa

  1. Vista isn't final yet.. but so is Nlite... let's have a WinXP capable final Nlite first, hopefully before WinXP has a successor
  2. Dude, there must be a waaaay simplier method You know, when I run Windows Setup on a new harddisk, create 2 partitions, after install/setup etc the partitions will be C: and E: and CD drive is D: Ofcourse I want the partitions to have the first letters so I turn off PC, pull out the CDdrive flat cable, turn on PC, in Windows you will now see the 2nd partition has become D: drive since that letter is free Shutdown pc, flat cable back, turn on pc. Now cddrive is E:. If you don't want to remove the flat cable, System Management (actually I dont know how its called in English, I mean Start>Run.. MMC.exe) you can give the CD Drive a different letter like X:. now the D:\ has become available, so you can give the 2partition this letter. Now the E: letter has become available, so you can give the CDDrive this letter.. and I am sure this method in a script would be easy.. But it isnt what I want, I rather mod the windows Setup to prevent it from doing it like this. Don't know how..
  3. I think everyone has this problem, but many people might still not understand: Like TS said.. On a new PC, a new harddisk (1 harddisk!) and DVD drive (1 DVD drive!) without partitions, I insert my unAttended CD run WIndows Setup, create 2 partitions and install windows on the first one. After install has finished completely, I check My Computer and I see this: C:\ = hard drive D:\ = CD/DVD drive E:\ = hard drive, 2nd partition. This is not what I want... I want the harddisk partitions to have the first letters.. then CD/DVD drive! So how can I modify Windows Setup not to give the CD/DVD drive(s!, or card slots) priority when creating new partitions?
  4. OK thanks to [url="http://www.msfn.org/board/index.php?showtopic=23746&st=45"] post #47 on page 4[/url] with the CORRECT command for Mount, I figured it out. Also, Deamon Tools created an icon in System Tray, even after ejecting/unmounting Daemon Tools was still running in System Tray so I added the -noicon switch. Now there will be now icon in systray & Daemon Tools exits immediately after mounting. So be warned, THE "MOUNT" PART IS WRONG IN THE FIRST POST! Here is the correct one: [b]install.inf[/b] [code][Version] Signature=$CHICAGO$ [DefaultInstall] AddReg = Mount DelReg = Daemon [Mount] HKCR,".ISO",,,"ISO_Image" HKCR,".CUE",,,"ISO_Image" HKCR,".CCD",,,"ISO_Image" HKCR,".BIN",,,"ISO_Image" HKCR,".CDI",,,"ISO_Image" HKCR,".BWT",,,"ISO_Image" HKCR,".B5T",,,"ISO_Image" HKCR,".MDS",,,"ISO_Image" HKCR,".NRG",,,"ISO_Image" HKCR,".PDI",,,"ISO_Image" HKCR,"ISO_Image\Shell\Mount\Command",,,"%16422%\D-Tools\daemon.exe -noicon -mount 0,%1" HKCR,"ISO_Image\Shell\Unmount\Command",,,%16422%\D-Tools\daemon.exe -noicon -unmount 0 [Daemon] HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Run","DAEMON Tools-1033"[/code] I removed unmount for myself... don't use it, Eject is fine actually, many people don't know about Eject, so know I do keep unmount just to make sure people who use Mount option can see directly how to unmount.
  5. I don't really understand what you are writing.. But you say an SFX is more simple, well actually that is in principle the same as what I am describing! an SFX also means 1 big archive with all your apps/files that don't require an installer. But instead of creating an SFX, I simply create a 7z file. since the file to extract 7z (or rar or zip) files is already in my System32 folder, and the command to extract the 7z, always overwriting other files, is already in RunOnceEx. Means I only have to update the .7z file if needed. Also the other advantage: I set it to overwrite files, no matter what. You can't really do this with a 7z SFX. Perhaps with Zip or RAR, but that means less compression = more space on your CD/DVD. If you would take 60 seconds to read the post, you see how simple it is, the only minor difference compared to a 7z SFX is step 4! (and the 7za.exe file in system32 folder).
  6. Once in a while (2 months or so) download the installers from their official sites, put them in uACD\InstallApps folder (in some cases rename ApplicationSetup1.2.4.5.exe to application.exe). I have a uACD folder on my 2nd partition together with documents etc. It's always there... can't be easier. it's also the reason why I don't like to use .cab integratable versions of common programs some people offer.. then you depend on their interest of updating the cab. doesn't have benefits for me.
  7. [1]Download 7-zip command-line version and place it in the folder $OEM$\$$\system32\7za.exe [2]Create a 7z archive of all the files & folders you need, make sure they appear in the 7z file the same way they should appear on your harddisk (known as %systemdrive%, partition where windows is installed, so normally %systemdrive%= C:\) For example, create these folders somewhere: Program Files\ Windows\System32\ Windows\Resources\ Windows\Media\ Documents and Settings\ In Program Files: you put all the things you need, I have: AviSynth, DVDFab Decrypter, DVD-ReBuilder, Exact Audio Copy, Foxit PDF Reader, iColorFolder, LClock, Media Player Classic, Mozilla Firefox*, MSN Messenger*, Nvu**, uTorrent, Winamp*, XnView. In Windows\System32: I have lots of things, avisynth.dll, devil.dll (if you would install avisynth, the installer places these 2 files in this dir), Flac/mp3/ogg encoders, ShutdownTimer.exe, TweakUI.exe, CDIMAGE.exe etc. in Resources: Themes folder with themes, XpizeSettings.exe, YzShadow folder containing files, dito for YzToolbar etc. in Windows\Media the Windows Vista sounds. [3] Select the folders, right click and select "add to archive" (7zip). Check "Create Solid archive" and set it to Ultra (if you don't have at least 512MB RAM select Maximum). Call this 7z archive: SYSTEMDRIVE.7z (since it will be extracted to %SYSTEMDRIVE%). [4] Add this line to your RunOnceEx, I recommend almost at the end, so it will overwrite files if needed. Check my order of things: REG ADD %KEY%\034 /VE /D "Various Programs and Settings" /f REG ADD %KEY%\034 /V 1 /D "HIDE.EXE /w "%CDDRIVE%AfterInstall\cleanup.cmd"" /f REG ADD %KEY%\034 /V 2 /D "HIDE.EXE /w "%CDDRIVE%InstallApps\Installsettings\install-systemdrive.cmd"" /f REG ADD %KEY%\034 /V 3 /D "REGEDIT /S %CDDRIVE%AfterInstall\aftertweaks.reg" /f install-systemdrive.cmd: @echo off for %%i in (C D E F G H I J K L M N O P Q R S T U V W X Y Z) do if exist %%i:\win51ip.SP2 set CDDRIVE=%%i:\ 7za.exe x %cddrive%\InstallApps\systemdrive.7z -aoa -y -o%systemdrive%\For some reason, if I put this command directly in the RunOnceEx, it doesn't work, thats why I use this CMD batchfile. -aoa overwrites all files, always. -y supresses prompts. *: These folders contain files containing custom settins, like Winamp.ini & Winamp skin & plugins. Firefox folder contains my own custom default profile & searchplugins & plugins(with Flash & Shockwave pluginfiles) folder. **Nvu is a standard part of my uA.
  8. I have updated my Shockwave (Full, not Slim, = with extra's) Installer. You can use it for (completely) silent installation. Or use it as a One-Click Installer, easy as hell. With the switches You can decide yourself wether you want progressbars or not. The archive you download contains a folder called Browserplugins, copy all files in this directory to your browsers "Plugins" folder and you will have FULL Flash support. It also contains the necessary Shockwave files for your browser (Opera or Mozilla, IE supported by the installer but not sure if you can use the shockwave pluginfiles without shockwave installer). Shockwave One-Click/Silent Installer + Flash & Shockwave Browserplugins DOWNLOAD
  9. You could check this out yourself dude, just checkout the files in your browser (Firefox) pluginsfolder! No need to ask. I have updated my Shockwave Installer. You can use it for (completely) silent installation. Or use it as a One-Click Installer, easy as hell. No Yahoo! Toolbar. With the switches You can decide yourself wether you want progressbars or not. The archive you download ALSO contains a file called Browserplugins.exe, double-click to extract it to your browsers "Plugins" folder and you will have FULL Flash support. It also contains the necessary Shockwave pluginfiles for your browser (Opera or Mozilla). Shockwave One-Click/Silent Installer + Flash & Shockwave Browserplugins DOWNLOAD edit:updated.
  10. HUH!? Now there are 3 Windows Media packs, ofcourse Titou2k's, then the one from videocodecs.com and now yours... why o why
  11. KAV: one of the few best Anti-virus protection + superb user interface NOD32: probably the best AV protection, user interface sucks little bit, especially compared to KAV. That's why I use KAV for few years now, it is the only av with such a good user interface: very clear and easy to use even for my madre and not childish for pro users. Plus the protection is very good, comparable but perhaps on some points not as good as NOD32.
  12. that's exactly why I decided the INF should run the CMD file Ofcourse I could use HIDE.exe, its only few KB's but it does mean adding another file to the package, don't want to do that. (I actually have HIDE.exe standardly in my system32 folder, but other people don't). for installing, I simply let the 7z SFX file call the setup.cmd file and hide the console window. For uninstalling from Windows Add/Remove Programs, there is no way to call a .cmd or .bat file hidden. So that's why I tried using the INF file. Thought about INNO (still thinking..) but INNO is all about a Graphical User Interface, I want the most simple installer as possible (as simple as possible for the end-user!). That means: just double click a file and it installs right away... no Next,Next,Next, Finish. I will do some research about INNO but I don't think this is possible. In the mean time I did learn a lot about batchscripting and INF files
  13. I WAS WRONG! This WORKS: 1 [DefaultUninstall] ProfileItems = del.shortcuts RunPostSetupCommands=StartUninstall [del.shortcuts] Name = Copy DVD movies,0x6 [StartUninstall] SETUP.cmd 2 This one, with a parameter /a for the cmd file, works It also works without the parameter [DefaultUninstall] ProfileItems = del.shortcuts RunPostSetupCommands=StartUninstall [del.shortcuts] Name = Copy DVD movies,0x6 [StartUninstall] C:\progra~1\DVD-ReBuilder\SETUP.cmd /a 3 This one also works, wether there is a parameter for CMD file or not. [DefaultUninstall] ProfileItems = del.shortcuts RunPostSetupCommands=StartUninstall [del.shortcuts] Name = Copy DVD movies,0x6 [StartUninstall] CMD.exe /C C:\progra~1\DVD-Rebuilder\SETUP.cmd /a playing with quotations "" over the whole line or just the path doesn't matter 4 This does NOT work, parameter for CMD file doesn't make a difference: [DefaultUninstall] ProfileItems = del.shortcuts RunPostSetupCommands=StartUninstall [del.shortcuts] Name = Copy DVD movies,0x6 [StartUninstall] CMD.exe /C "SETUP.cmd" also tried without the " ", doesn't work because it searches for SETUP.cmd in the %systemroot% folder. 5 This does NOT work either, parameter for CMD file doesn't make a difference: [DefaultUninstall] ProfileItems = del.shortcuts RunPostSetupCommands=StartUninstall [del.shortcuts] Name = Copy DVD movies,0x6 [StartUninstall] CMD.exe /C %programfiles%\DVD-ReBuilder\SETUP.cmd tried C:\Program Files..., with "" and without ""... doesn't work! 6 Same for this one, parameter for CMD file doesn't make a difference [DefaultUninstall] ProfileItems = del.shortcuts RunPostSetupCommands=StartUninstall [del.shortcuts] Name = Copy DVD movies,0x6 [StartUninstall] %programfiles%\DVD-ReBuilder\SETUP.cmd What I want: need %programfiles% since this has to work wether the Program Files folder is on C:\ or X:\ and is called Programs or Program Files. And I need a parameter for the cmd file, otherwise the wrong part from the CMD file will run. The CMD file and the INF file are in the same folder! About #4: Like I said in previous posts: if you first go with command prompt to the folder containing the cmd file, and then give the command to run the inf file like in #4, it does seem to work! (even with parameter). Who can help me? I tried using '16422' wich is the code for Program files... but don't know how to use it in this case. EDIT: with some tricks and different methods from Yzowl it works now. But I also discovered newest version of modified 7zS.sfx module can do A LOT of setup things like creating shortcuts (should work for all languages) and even more
  14. oops I want to run an INF file, the command to run the inf works when I try it in command prompt... doesn't work with the modified 7z sfx: ;!@Install@!UTF-8! RunProgram="rundll32.exe advpack.dll,LaunchINFSection %programfiles%\DVD-ReBuilder\SHORTCUTS.INF,DefaultInstall" InstallPath="%PROGRAMFILES%" ExtractTitle="Easy Installer: Extracting..." GUIMode="2" ;!@InstallEnd@! (ofcourse the RunProgram parameter is 1 line, after LaunchINFSection there is only a space). I am getting an error that says System cannot find given file. posted this question also in the modded 7zS.sfx Russian forum EDIT: And I got an answer! Check this out: ;!@Install@!UTF-8! ExtractTitle="Easy Installer: Extracting..." InstallPath="%PROGRAMFILES%" RunProgram="hidcon:install.cmd" GUIMode="2" ;!@InstallEnd@! All files will get extracted to the Program Files folder, then the file install.cmd is run, hiding the console window! Guimode=2 will hide the 7zip extraction window completely. EDIT: Oleg_Sch modified 7z SFX module has A LOT of possibilities I think no English user knows about! My DVD-ReBuilder Easy Installer now uses it to create shortcuts (no matter what Windows language you use, for ALL users, WinRAR can't even do this! does it for current user only), view a dialog, even view an optional dialog so that the user can give extraction path! It can run a file or run a different file/command when silent switch is given. And a lot of customisation options. There will be an English translation from the Russian documentation.
  15. back on feb 1st, 2006, when i started making this installer, the original installer wasnt svcpack compatible. Thats when, and why i was making this installer. Thanks for the heads up, i didnt know this was 'fixed'. This was a very difficult msi to produce! I'll be glad to stop making it.shark I use a command in cmdlines.txt that makes my RunOnceEx run at T12/13, it works for me then. I don't know much about the svcpack method so I can not say with absolute guarantee it would work but since svcpack also runs at T12/13 I think it should work.
  16. A long time ago I decided my uA has to be on a CD, not DVD. This way I could use it for every PC. But space on a CD is limited. I then decided, ALL software that doesn't need an installer, I simply add to a 7zip (Ultra, Solid) file. The 7zip file is now around 50-60MB in size and extracted it would be around 200 MB. It contains 3 folders: Program Files Windows (wich contains System32, Resources (for additional Themes). Documents and Settings (wich contains all users\start menu, my complete start menu the way I want). I call it SYSTEMDRIVE.7z, because it gets extracted to %SYSTEMDRIVE%. I have 7za.exe in the $$ (or whatever the name is for SYSTEM32) folder, and with this I extract the 7z file (almost at the end of my RunOnceEx --> because it also contains some .INI files, like Winamp.ini the settings for Winamp, so I want Winamp to be installed already). The SYSTEMDRIVE.7z contains A LOT of apps: EAC, Lame MP3 encoder, Ogg Vorbis encoder, FLAC encoder, several Windows Themes, a few screensavers from visualxp.net, Kaspersky settings file, DVDfab Decrypter, Avisynth, DVD-Rebuilder, iColorFolder, Foxit Reader and a lot more I can't think of right now. I can advise it to anyone The nice thing is, it speeds up your uA install! Since it simply extracts everything immediately to its location. Instead of running 20 installers, each one has to extract some files first etc. Ofcourse if space is not an option you could use the $oem$ folder instead of a 7z file.
  17. the original installer with the -ms switch installs fine here @T12/13... also set as default browser... I assume it has to work with svcpack then right? why a modded switchless installer?
  18. Shark007, a suggestion, contact the 7zip developers! They should replace the 7zS.exe with your build! Thanks a lot for your work. This is absolutely the best user-made thing here on msfn!
  19. Its first placed on their FTP server.. some really crazy people monitor their FTPsite, once a new version is uploaded, they scream New version! But it can take days before it is officially launched, then ofcourse your Firefox will update itself. Firefox installs silently using the -ms switch! Also you can set it to skip the annoying IE Import Wizard.. forgot how.. its easy though.
  20. @Glowy, I read back, there is only something about msiexec not working, but you don't even need it. This works just fine: ;!@Install@!UTF-8! Title="Software app v1.0" BeginPrompt="Do you want to install the Software app v1.0?" ExecuteFile="browser.msi" ExecuteParameters="/qb" ;!@InstallEnd@! Ofcourse it works just fine without ExecuteParameters, and you don't need the BeginPrompt. So why still use msistub? Same goes for StartX. Simply use ExecuteFile and you don't need it anymore. QUESTION: It must be possible to create a 7z file that extracts to a specified folder? Nothing more. It can be done with Winzip and winrar, very easy. But I haven't figured out how to do this with 7z. the method in this topic first extracts everything to temp folder. then I could make a batchfile copying it to the right folder but that's double work.. Any ideas? (especially with big archives the double work is annoying AND this method is meant for Installers so I know it is normal that it is done this way)
  21. @tcsdoc, check PM @sam, I guess Shark007 uses it for unattended install, you don't want a confirm window then.
  22. ooohh damnz, I thought /qn was impossible, thought switchless = no switch needed & also not possible. So then it is useless I created an installer. I am not sure what you mean, like I said, all I did was: extract your installer, then create a 7zip switchless installer again, just as you did (I assume), the only difference is that I run the msi file with /qn from the switchless installer. so mine = identical to yours + the /qn switch builtin. So I will delete mine. But perhaps you used a completely different command, and thats why you say mine wont work when used from svpack? Well mine does install from runonceex, executed @T13. EDIT: just tested your installer sw101116.exe /qn, doesn't work, after extracting I get the window listing all possible switches. Seems mine is still usefull. I also updated my installer since the progressbar for extracting was still shown, now that progressbar is also supressed, uploading now. EDIT2: the switch for your install -/qn (instead of /qn) does work, hiding the msi progressbar! If you could modify the 7zip sfx so that the extracting progressbar is hidden, I will delete mine example: ;!@Install@!UTF-8! Progress="no" RunProgram="setup.exe" ;!@InstallEnd@!
  23. I did succeed in making an inf file-only solution.. (because the CMD solution couldn't create shortcuts for all win languages easily). But I just didn't like it. it can't remove folders with its contents... and just seems to be little inefficient if I monitor my harddrive sound and time it takes to execute. That's why I now only use the inf file to create shortcuts. The other tasks are done by the cmd. And because I want cmd file to run hidden, I run the inf file first and let it start the cmd file. Ofcourse I thought about INNO setup, but I don't think it is possible to create a 1-click-only solution: double click the setup file, no window is opened, install/uninstall runs silently (hidden), when install is finished, a guide will open, giving info how to use the program that has been installed. I think installers like INNO are used if you want to give the user options. Many programs don't even have options during setup, you have to press NEXT 5 times and FINISH one time... useless. Thats why I am trying this. 1) uhm I think you mixed things up. INF file can run the CMD file, no problem there. The problem was running the INF file from Start>Run, when the INF file is somewhere in a dir like D:\projects\doubleoo\bla.inf. So that was the 'working folder' problem. But it isn't a problem anymore. 2) seems it was my fault, I removed a 'pause' in the CMD file that would show me the cmd file uninstall section was executed. this works: [uninstall.RunSetupCommands] cmd.exe /C SETUP.cmd /uninstall this also works: [uninstall.RunSetupCommands] cmd.exe /C "SETUP.cmd /uninstall" And I am pretty sure your suggestion, defining the path, would work also. btw, I modified the code of the cmd file so that I can use '/uninstall' instead of 'uninstall'. Like it is just a switch IF /I [%1]==[/uninstall] GOTO :UNINSTALL thanks for all the help. I have created "DVD ReBuilder Easy Installer", so that even my girlfriend can install the necessary apps to backup a dvdmovie, and use them. Its popular with Dutch users, didn't do any marketing on international websites because shortcuts were simply created in start menu\programs, but different languages of Windows use different names for Start menu ("Menu start" in Dutch) and programs. But now this method works fine, will release the installer on doom9/videohelp etc.
  24. OK but isnt this strange: when I open a cmd window and run this command: rundll32.exe advpack.dll,LaunchINFSection shortcuts.inf the inf file is executed and the DefaultInstall part will execute, it will start the CMD file. BUT howcome, when I do Start>Run.. type the exact same command, press ENTER, it doesn't work! also when I rightclick it doesn't work, but thats probably because by default it uses setupapi.dll. EDIT: OK, I understand now: the working folder must be the folder containing the INF file, otherwise it wont run. So Start>Run wont work (unless the inf file is in the system32 folder) even when you specify the path like this: rundll32.exe advpack.dll,LaunchINFSection D:\i\project\app\SHORTCUTS.INF,DefaultInstall when you open a cmd window, go to the D:\i\project\app\ folder and use the exact same command as above, it doesn't matter if you specify path or not, will always work. So it is a little bit strange you can only run it from within the folder. But it isn't a problem for me. ----- s***, thought I had everything figured out! I have a setup.cmd file with a parameter, called uninstall. the command: setup.cmd uninstall will start the uninstall section of the cmd file. This works. Now I want to use the inf file to run it (silently) [uninstall.RunSetupCommands] cmd.exe /C SETUP.cmd uninstall Unfortunately it works only without uninstall. Is it even possible? Reason I am doing all of this: it seems to me INF file are a little bit uhm inefficient, my cmd file just moves some files and adds some reg entries, creates shortcuts and then starts a pdf file. The uninstall part deletes 3 directories with files, few other files, shortcuts and a reg entry Doing all these things with the INF file seems to take a little bit more time and my harddisk makes a little more noise. So thats why I choose for 1 INF file that creates (or removes, when uninstalling) the shortcuts in start menu (better then cmd cos works for all windows languages) and then runs the Setup.cmd (for installing or uninstalling), without showing the cmd window. Seems to be the most efficient solution for an easy -one click- installer that works for all windows languages. I just create a silent 7z sfx and done. ofcourse I know vbs could work but I removed vbs support with nlite, maybe not very smart, but I actually don't need it.
×
×
  • Create New...