Jump to content

mazin

Member
  • Posts

    1,948
  • Joined

  • Donations

    0.00 USD 
  • Country

    Egypt

Everything posted by mazin

  1. Well! First, WinINSTALL LE (free edition) is no longer available or supported on the owners' site (www.ondemandsoftware.com). Second, I'm not sure if the link in Post #28 is for the free edition. Third, yes, WinInstall LE creates stable MSIs. As long as you clean the MSI immediately before compressing it, you should get a reliable package. Even with commercial applications like WISE or InstallShield, you still need to clean the created MSI. This is because when you create a snapshot, some files not related to your package are added. Not only foreign files are added, but also some foreign reg keys and such. Fourth, the main purpose I've used WinInstall LE for is editing MSIs rather than creating them.
  2. I'm sorry, mandrake10. You'd better use cancerface's CreateUser utility.
  3. Yes, that easy. And the %INPUT% variable (as given by Ctrl-X) is valid during the session of your batch file where you used SET. In the same batch file, you can SET other variable like INPUT1, INPUT2, and so on.
  4. I'd ask, too. The only problem with the original installer is it defaults the UI langue according to the system default language, but not always English UI. There's a solution to this, however.
  5. You MUST take some decisions, first. To get yourself through, please read the following little introduction to shortcut folders on Start Menu. 1- %AllUsersProfile%\Start Menu\Programs A shortcut folder created here will be available to any user account. Some apps put shortcuts here. Examples are QuickTime and WinZip. So, if you want to move QuickTime shortcut folder to another location, like 2-Multimedia for example, you add these lines to your cleanup.cmd: MD "%AllUsersProfile%\Start Menu\Programs\2-Multimedia" move "%AllUsersProfile%\Start Menu\Programs\QuickTime" "%AllUsersProfile%\Start Menu\Programs\2-Multimedia\QuickTime" 2- %UserProfile%\Start Menu\Programs A shortcut folder created here will be available to the user who installed the application after he/she logged on using his/her user account. So, if I log on to my computer as MAZIN and install Notepad++, a shortcut folder for Notepad++ will be created in C:\Documents and Settings\MAZIN\Start Menu\Programs\Notepad++! As you can guess, if MAXMUM (just another user) logs on to the same computer, Notepad++ shortcut folder will not be available on his/her Start Menu. Hence, no such directory exists: C:\Documents and Settings\MAXMUM\Start Menu\Programs\Notepad++! Some apps put their shortcuts here. Examples are Notepad++ and Calendar Builder. So, if you want to move Notepad++ shortcut folder to another location, like 1-Applications for example, you add these lines to your cleanup.cmd: MD %UserProfile%\Start Menu\Programs\1-Applications" move "%UserProfile%\Start Menu\Programs\Notepad++" "%UserProfile%\Start Menu\Programs\1-Applications\Notepad++" ## Well, I find a shortcut folder for WinRAR in both Start Menus!! ## I install WinRAR from SVCPACK, however. ## I install WinZip from SVCPACK,too. ## But, there's only a shortcut folder for WinZip in one of the Start Menus, not both. 3- Default User\Start Menu\Programs AFAIK, there's no variable for the Default User. The Default User is the backup inherited by all computer users. It's not a user account that's assigned to a computer user. We can not log on to our computer using the Default User account. Well, so what's the use of the Default User account in our situation? At T-13 (where SVCPACK.INF is executed) and at T-12 (where cmdlines.txt is executed), no user account has been logged on yet. The Default User account works, here! Since Calendar Builder (for example) creates a shortcut folder under %UserProfile%\Start Menu\Programs, but not under %AllUsersProfile%\Start Menu\Programs; then if I install it after I log on to my account, its shortcut folder will be available to my account only. In such a case, if another user logs on to the computer using their own account, the shortcut folder will not be available to them. To make the shortcut folder of Calendar Builder appear in the Start Menu of any user account, I install Calendar Builder at T-13. Since no user account has been logged on yet (at T-13), the shortcut folder of Calendar Builder goes directly to C:\Documents and Settings\Default User\Start Menu\Programs\Calendar Builder! So, whenever a user account is created and logged on, they should see the shortcut folder in their own Start Menu. Well! You might say: "But I don't want the shortcut folder to be created in C:\Documents and Settings\Default User\Start Menu\Programs\Calendar Builder! I want it in C:\Documents and Settings\Default User\Start Menu\Programs\1-Applications\Calendar Builder, instead." Simple! Add these lines to your batch file (executed at T-13, too!): MD "%UserProfile%\Start Menu\Programs\1-Applications" move "%UserProfile%\Start Menu\Programs\Calendar Builder" "%UserProfile%\Start Menu\Programs\1-Applications\Calendar Builder" At T-13, %UserProfile% resolves to C:\Documents and Settings\Default User! And new user accounts will inherit the same path to the shortcut folder. So, when MAZIN logs on to the computer, he will see: C:\Documents and Settings\MAZIN\Start Menu\Programs\1-Applications\Calendar Builder. And when MAXMUM logs on, he will see: C:\Documents and Settings\MAXMUM\Start Menu\Programs\1-Applications\Calendar Builder. And so on..! 4- Now, I see you're lost! Well, I guess you are not! Being highlighted enough (I hope), it's time to take your decision. You've already taken your decision regarding the destination directories. Next decision is to learn the source directories you want to move. In other words, is the source directory located in %AllUsersProfile% or in %UserProfile%? You can, then, decide what to type in your cleanup.cmd: MD %AllUsersProfile%\..." or MD "%UserProfile%\..." move "%AllUsersProfile%\..." "%AllUsersProfile%\..." or move "%UserProfile%\..." "%UserProfile%\..."! HTH
  6. /GROUP switch is used with INNO installers ONLY!
  7. Foxit Reader 2.0 for Windows is out (Sep 12, 2006). Check their site at www.foxitsoftware.com! I suggest you download the ZIP Package (zip) not the Installer (exe). Unzip the downloaded archive (foxitreader.zip) and put the extracted "FoxitReader.exe" in: $OEM$\$$\ in your UACD! When you set up Windows, the directory is translated to X:\Windows, where X is your System Drive. Hence, the path to your app will be X:\Windows\FoxitReader.exe! Being in Windows directory, your system KNOWS where to find it. And since your Install directory will be deleted in the end, I'd suggest you put "Foxit.reg" in $OEM$\$1\Install\; this will be translated to X:\Install. Hence, the path to your reg file will be X:\Install\Foxit.reg! Be careful: if file name in X:\Windows is FoxitReader.exe, you must keep the same name in your Foxit.reg. In my reg file, I name it PDFread.exe because I renamed my file in $OEM$\$$ to PDFread.exe! Now that everything is supposed to be done well, add these lines to your RunOnceEx.cmd: REG ADD %KEY%\050 /VE /D "FoxIt Reader 2.0 - Tweaking and Registering" /f REG ADD %KEY%\050 /V 1 /D "REGEDIT /S %SystemDrive%\Install\Foxit.reg" /f That's it! Ah, the /f switch? Being used with REG ADD, it's actually useless! Sometimes, it's harmful, too. I said that long ago. It's function is to force overwriting strings in the Registry, if any. However, I'm always using it with REG DELETE. OFF TOPIC: /GROUP switch is used with INNO installers ONLY!
  8. I don't think this problem is related to WINNTBBU.DLL! I think you need to adjust your monitor.
  9. For ROEX, see this: http://www.msfn.org/board/index.php?s=&amp...st&p=566158
  10. Nature Drops. Background: 1024 × 768 Download.
  11. I've, recently, decided to use $OEM$ folders for this purpose. In your situation, I'd suggest creating these directories in your UACD: $OEM$\$Docs\All Users\Start Menu\Programs\mIRC $OEM$\$Docs\All Users\Desktop You put whatever shortcuts there. Actually, you copy shortcuts from your current system to those dirs of $OEM$. One thing to take care of is to right-click each shortcut for Properties. Then, you change C: to %SystemDrive% in the following fields: Target: "%SystemDrive%\Program Files\mIRC\mirc.exe" Start in: "%SystemDrive%\Program Files\mIRC" This guarantees a shortcut functionality whatever your %SystemDrive% is. You can, also, fill in the "Comment:" field if it's empty. HTH
  12. It's WINNTBBU.DL_ (.DLL)! Search for WINNTBBUEd.exe in this forum. It's an excellent utility to display your edited WINNTBBU without having to run Windows SETUP. Also, check this topic for contributed ready-made WINNTBBUs.
  13. I planned my scenario on your request. It's good for two ROEX installation. I'm glad you solved the problem. However, I don't put EXIT in my CMDs. Either I put CLS or nothing. Both work!
  14. @ RogueSpear Thank you for the input. Actually, I've used the same copy of Windows I'm always using; except it's nLited. With my regular UACD, the Power Button functions correctly. @ dcyphure No. I mean that bottun on my case. @ all Any idea about restoring files or reg keys or whatever?
  15. I wonder what "NoSimpleStartMenu" is for! What is "the other option"?
  16. Hi! A few months ago, I started testing nLite. I had no luck at all! Last week I tested version 1.0.1. I used nLite to slipstream SP2 and Xable's lite update pack. I let it create the ISO, too. Everything went flawlessly. However, I've got three proiblems. They are: 1- At the first logon, the Administrator account couldn't log on. I typed my user name and logged on. 2- When I tried to log off, I was told that my account is restricted. 3- When I tried to shut down my computer using the Power Button, nothing happened. For the third problem, if I removed some files from Windows, what are they? I want to restore the Power Button functionality. The first and the second problems are not that nasty, but any input is welcomed. Thanks in advance. Cheers for nLite, nuhi. I will never give it up, again. Thanks to bonedaddy, too. You proved you never use useless applications.
  17. I think KB883667 (hotfix) is released for this purpose.
  18. Go to Control Panel --> Regional and Language Options --> Languages --> Details. Adjust the settings to your choice. Press "OK" when finished. Open your Registry Editor and export the following keys and values. My reg file, below, is for two keyboard layouts: English (United States) and Arabic (Egypt). Of course, you'll find different data if your choice is different. I assume you installed your langs in WINNT.SIF.
  19. The following is a working scenario. REQUIRED FILES: $OEM$\cmdlines.txt $OEM$\ROEXLM.cmd $OEM$\$1\Install\ROEXCU.cmd $OEM$\$$\System32\CMDOW.exe CONTENTS:
  20. I use this tweak to turn SR off. The SR Tab is shown. The problem why your SR Tab is not shown is either caused by the first key in your tweak or you removed SR as a component of Windows. For WMP hotfixes, why don't you finish installing WMP & its htofixes first, then apply that tweak to disable SR next?
  21. @ gunsmokingman I like your HTAs! I have a problem and you may be able to help, if possible. I'm using a CMD from SVCPACK to install some apps. It', also, uses REGEDIT, copy, RD, etc... as you know. Can I use an HTA at T-13 to replace that CMD? I, also, want it to work without intervension 'cause all apps are needed. Thanks.
×
×
  • Create New...