Jump to content

MHz

Member
  • Posts

    1,691
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Australia

Posts posted by MHz

  1. I would so like to try this out as a prototype. If the installer wasn't identified it could easily error out I guess and generate a log file?

    I also sent you a PM.

    Sorry about the late reply but the board did not send me an email notifying of your PM. I have replied to your PM.

    Logging can be done.

    :)

  2. Hmm, I have my email down to 30MB after a cleanup.

    Since these emails seem important, then I would consider breaking up the database file first. You should be able to create some more folders within Outlook. Name them as suitable. Even something simple like Friends, Family, Business etc would be good but more descriptive, the better for searching purposes. Then create some message rules so mail from say a member of your family goes to your Family folder. I am currently using Windows Mail within Vista so I can at the moment relate to that. It is possible to execute the message rules on a chosen folder in the email program. The email will be moved as the conditions of the message rules state.

    Once your email is all moved to other folders by the message rules, then the database files will be multiple database files of a smaller size, rather then your large 1.9 GB. I would consider that your amount of mail is still too large to continue adding to, so perhaps you could make some folders with similar names on your Hard Drive somewhere and then select all mail in the select email folder and drag the mail into the corresponding folder on your Hard Drive so you will end up with <subject>.eml files in the folder. Do that with all the other email folders. If your happy with the result, then you can clean out your email folders completely within your email program and start fresh again. If your folder names were informative enough then finding old emails should not be any more differcult perhaps.

    :)

  3. thank you for ur reply MHz

    i will be so thankful if you send post of autoit code for minimized setup or transparent. I m not so familiar with autoit script it's too vast for me to understand that advance code.

    It will be easy for me if you send an example of that code.

    Please..

    Example with 3 options ready for use. Uncomment only 1 option at a time to see the example.

    Opt('TrayIconDebug', 1)

    ; Check if "Installer Language" window appears.
    AdlibEnable('function')

    ; Run the installer.
    $ProcessID = Run('"' & @ScriptDir & '\CCleaner 1.41.exe"')

    If WinWait('CCleaner v1.41 Setup', 'Welcome to the CCleaner', 60) Then

    ; Option 1. Move window off the screen
    ;WinMove('CCleaner v1.41 Setup', 'Welcome to the CCleaner', Default, @DesktopWidth)

    ; Option 2. Set window transparent.
    ;WinSetTrans('CCleaner v1.41 Setup', 'Welcome to the CCleaner', 25)

    ; Option 3. Set window minimized.
    ;WinSetState('CCleaner v1.41 Setup', 'Welcome to the CCleaner', @SW_MINIMIZE)

    ; Click the Next button
    ControlClick('CCleaner v1.41 Setup', 'Welcome to the CCleaner', 'Button2'); Next

    ; Disable "Installer Language" window checking
    AdlibDisable()

    WinWait('CCleaner v1.41 Setup', 'Licence Agreement')
    ControlClick('CCleaner v1.41 Setup', 'Licence Agreement', 'Button2'); I Agree

    WinWait('CCleaner v1.41 Setup', 'Choose Install Location')
    ControlClick('CCleaner v1.41 Setup', 'Choose Install Location', 'Button2'); Next

    WinWait('CCleaner v1.41 Setup', 'Install Options')
    ControlClick('CCleaner v1.41 Setup', 'Install Options', 'Button2'); Install

    WinWait('CCleaner v1.41 Setup', 'Completing the CCleaner')
    ControlClick('CCleaner v1.41 Setup', 'Completing the CCleaner', 'Button2'); Finish
    EndIf
    ProcessWaitClose($ProcessID)

    Exit

    Func OnAutoItStart()
    ; A 2nd script instance will exit.
    If WinExists(@ScriptName & '_Interpreter') Then Exit
    AutoItWinSetTitle(@ScriptName & '_Interpreter')
    EndFunc

    Func function()
    ; Check for a window that may appear.
    If WinExists('Installer Language', 'Please select a language') Then
    ControlClick('Installer Language', 'Please select a language', 'Button1'); OK
    EndIf
    EndFunc

    Based on the lite version of CCleaner.

    :)

  4. There is a external database viewer available that I have seen and used before on the net so you can look at your emails without opening the email program to do so. 10k emails is a lot and deleting would take forever to go through them so just copying the file to backup and delete all emails within the existing email folder should be fine. And do maintenance to shrink the file down to optimize.

    :)

  5. AFAIK, yes. That is launching an AutoIt script from a extracted cab file will work fine.

    Some installers allow you to minimize the 1st window and the following windows will also be minimized. You also maybe able to move the 1st window off screen and automate from there. WinSetTrans() can also be used to make the windows transparent if you like. Using WinWait() and Control*() functions allow for very relible installs and windows do not need to be active so you can even use a full screen picture set Always on top will installations happen so it is all hidden.

    :)

  6. I tried running the Windows Install Cleanup Utility, and it gives me the same error. Another installation is in progress, and it has to cancel. Where could I get a good process monitor?

    Sorry. Just noticed that the cab file has a MSI inside. Installing it is hopeless if your MSI installation data in the registry is corrupt to start with.

    Try extracting this zip archive and run msicuu.exe.

    msicuu.zip

    Edit:

    I sent some feedback on the link that i previously gave you.

    Using a MSI within a cab file to install a application to try to solve an issue with a MSI corrupted registry entries is not a good idea to start with. Please consider a simple archive extraction process that does not require installation.
  7. DAEMON_TOOLS_SILENT.AU3 (the script for silent installing Daemon-Tools) THX to unknown MSFN-User

    The author is here. :)

    you must have the following files:

    INSTALL.CMD

    DAEMON_TOOLS_SILENT.EXE (the converted AU3-script)

    daemon4091-x86.exe

    SPTDinst-v150-x86.exe

    Try out for testing and give little feedback, how it works

    SkAvEnGeR

    The AutoIt script I created is made to be executed at cmdlines.txt or at a similar time period and will add a runonce entry in to execute from registry if a exitcode of 2 is returned from the DT install. The script is self contained to only require the DT installer alone without any other files. :)

  8. Great tool! This is accomplishing most everything I need.

    I was wondering though. I may have over looked but can I identify the installer from the windows command line and possibly pass those variables to do a silent install. What I am trying to do is poll a folder with all kinds of applications I have downloaded and automatically install them.

    Thanks

    You can call CMenu.exe via command line, but you would only invoke the Gui "Identify Installer". I could create a modification to a special executable to allow this, to pass a command line and to execute the path of the file with suitable switches, but you may miss out on the files that cannot be recognized though.

    Let me know if you want to continue with this and I may see if I can create a prototype for you to try out. :)

  9. disrespectful to whom? autoit?

    encouraging someone to use anything other than autoit isn't disrespectful, it's just solid advice.

    i'm sorry for not liking autoit. it's inefficient, slow, and buggy. also, i think autoit encourages people to make bad design decisions and implement autoit hacks instead of addressing the real problems at hand.

    just because someone recommends something and i disagree doesn't make me a bad person. this is a board for discussion. i didn't use foul language and i didn't spout any personal attacks. i did use some strong words, but a program this terrible deserves strong words. it's a scourge to be reviled by self-respecting scripters everywhere.

    please send the MSFN management my best regards,

    -root

    Solid advice? :huh: Well aren't you confident.

    You put down my offering with disrespect by putting down AutoIt and then boosted your own choice. I will not say anything bad about your choice as it is good choice also. You are certainly not a nice person at all. The only thing you have is a pathetic opinion as you cannot use a language that works. Go to the AutoIt forum and you will find plenty who love and support using AutoIt. There are plenty of AutoIt users at MSFN also who do not expose there use of it. They quietly use AutoIt without putting down others who use other languages like you.

    So you think it is fine to go around spreading your opinion and putting down others and what they use. Why don't you go down to the local police station and tell them that they suck. I am sure they will sort you out good and convince you to keep your pathetic opinions to yourself.

  10. autoit sucks, avoid it like the plague.

    There is NOTHING in the unattended installation world that AutoIt cannot accomplish. You just need a willingness to learn.

    Thanks. :)

    @#rootworm

    Your words were not required and plain disrespectful.

  11. Probably Inno Setup as latest I have of that date.

    Try these switches

    /Sp- /NoRestart /VerySilent /SuppressMsgBoxes

    The /VerySilent is the important switch and the others are in case of optional events set by the installation developer which I use for all Inno Setup installations.

    :)

  12. @coucou

    I have downloaded the trial version from http://download.winzip.com/ngs/winzip111.msi

    I have tested the silent installation and has gone well, i did not have any error you described above.

    winzip111.msi /qr INSTALLCMD="/noqp /noc4u /notip /nodesktop /nopredefinedjobs /autoinstall"

    I think that could be some interaction with an other compressor.

    Surely not. In the command line, you use zip sfx switches after a extracted msi. Seems like a poor setup routine to me (by the developer) but just my opinion. Perhaps I am wrong.

    Edit:

    added words within brackets.

  13. From memory, your path in your project should be like this.

    \$OEM$\$1\Install\...

    Double check that you have not made a typo in the path and Winnit.sif. If your using W2k then I am fairly sure that you need to put the $OEM$ folder inside the I386 folder, else it goes beside the I386 folder for XP.

  14. Thanks, i'm still learning.

    So can a program executed with a compiled autoit exe be used as an addon for windows xp using nLite

    IMO, Yes. The compiled AutoIt executable should function normal under the condition of extracted from an nLite add on. The macro, @ScriptDir, is the path to your compiled AutoIt executable so you can set the WorkingDir or path if needed. It will run Msiexec fine and all the rest. Even the AutoIt Gui functions should work fine around the early T13 period. ;)

  15. I'm not a nLite addons experienced, but if you remove the space from the path to the files and have no spaces in the filename, then you do not need the double quotes. For the 7Zip, you just need no spaces in the filename and the easiest way is to replace spaces with underscore characters. So a 7Zip config.txt would look like the below code.

    ;!@Install@!UTF-8!
    RunProgram="PrintKey2000_Setup.exe /s"
    ;!@InstallEnd@!

    This thread below may have some good tips.

    http://www.msfn.org/board/lofiversion/index.php/t39048.html

    :)

  16. Thanks for your assistance, MHz. Sorry the links didn’t work. The reference to “/whatever†, was not meant as a ‘switch’ but rather what “should†it be or what ‘additional‘ switch did I need to insert. When I used Cmenu, it I.D. the ‘silent’ installer as maybe: PrintKey2000 Setup.exe /s .

    Don't worry too much about the links as I can Google when needed. urie is correct about the case of the characters as NSIS is case sensitive with it's switches, so uppercase is definitely needed. Identify Installer mentions about the case sensitive issue with NSIS (Nullsoft).

    :)

    Edit:

    Oops, it is a Wise Installer, overlooked that. This should work "PrintKey2000 Setup.exe" /s. Notice /s is outside of the double quotes. If you had it inside then it may not work silent.

  17. My question is that when I used them in the virtual pc, it went to install them, but it asked to click next, next, next, etc. Not what I would call a true ‘silent’ install. Is there another command that I can include that will truly make it a silent install. Like “Setup.exe /S /whatever. I tried to figure out the autoit script stuff, but that is sooo far over my head. LOL

    CMenu was correct with identification. Even when you 1st start the install, you see a blue splash banner that has Wise stamped on it by both installers. If you selected Silent Install from Identify Installer menu, then it should silent install as SendToA3X has done here. Your use of /whatever switch seems a concern perhaps, but here is the AutoIt script solution to use on each of the installers shown below. :)

    RunWait('"' & @ScriptDir & '\setup.exe" /S')

    I do not know what you did wrong, but you did not do it right. Perhaps you got the quotes wrong or something. Both of your links do not work so I searched for them and got some lucky installers perhaps. ;)

  18. myspacee, it was removed, or actually 95% of it in the vLite 0.9 but that caused hotfixes to fail on install, they probably need to update some parts of the WinSxS.

    All the files so far that I have seen in winsxs are hardlinks. Removing winsxs may not save 1kb of space going by hdd space but may upset the updating process that the linked files elsewhere would expect. The way that Vista uses hardlinks on most of it's system files makes consideration of removing any file that is hardlinks as you need to consider it's linked counterpart and it's function elsewhere. Using NTFSLink shell extension that I use may show you the same in explorer as I see as it uses icon overlays to show you the hardlinks and junctions.

  19. Could you please specify which extensions I would need for the Inno compiler to compile the coded portion?

    At the Inno Setup Downloads Page, you will see a QuickStart Pack. Download the ispack-5.1.11.exe installer to download the items needed. This is the easiest way to get the pascal extensions added rather then trying to do it manually.

    I downloaded the firewall from download.com and unpacked it for a look. You may end up missing the needed setup code for setting up the service?, etc... that is probably done through the custom pascal code. I made up a custom installer with what info was available to use and it did not work right at all, but mind you that I am testing in Vista under a Virtual Machine that the firewall does not indeed support Vista to start with. I installed the firewall from the original installer silently and ofcourse Vista complained but I continued. I saw only one window which was a complaint about OBDC. You may get different results with XPSP2 as it seems with your results.

    To summarize, rebuilding the installer seems differcult to have it fully functional and silent install has issues as we know. You maybe able to use Installrite, AutoIt or some other means to make installation a little more manageable.

  20. Hello tallspruce,

    start /wait %systemdrive%\Install\Lavasoft_Personal_Firewall_Setup.exe /VERYSILENT /SP- /SUPPRESSMSGBOXES /NORESTART

    It may work better with the E.

    DefaultDirName={code:GetOutpostFolder} <-------is this Pascal Scripting?

    Yes, it will be already compiled so it makes it differcult to compile the script when you do not have the pascal source code. You also need to have the pascal extensions installed for Inno Setup to compile it.

    :)

×
×
  • Create New...