Berkeley CSUA MOTD:Entry 39965
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/07/09 [General] UID:1000 Activity:popular
7/9     

2005/10/3-5 [Computer/SW/OS/Windows] UID:39965 Activity:nil
10/3    Can anyone recommend a self-extractor on Windows that:
        1) Shows progress while it is unzipping
        2) Can be built inside a build (not using IDE)
        3) Allows you to run a command (EXE) packaged inside the .EXE *AND*
        4) Allows you to pass in arguments to that EXE
        Winzip self-extractor meets all these reqs except for #4.  I don't
        care if it is freeware or costs money.
        \_ There are commercial installer products that should be able to
           do what you want which seems to be to distribute an installable
           compressed .exe file.  If one of them doesn't do exactly what you
           want, ask them how much for a custom mod since money doesn't
           seem to be an issue for you.
        \_ Why not use a batch file?
           \_ Because my customers don't want to have to read a README and
              download files and batch file and type shit in.  They want to
              double click an EXE.  And if there's problems I'd like to be
              able to parse command line arguments.
        \_ What are the flags you want to support, and what do you want each
           flag to do?
        \_ Let's say you have pkg.exe, and when you run it, it unzips files
           to a temp directory, then runs a file "setup.exe" inside.
           Feature 4 means you want "setup.exe" being run with some flags
           that are always the same?
                \_ No winzip self extractor supports that.  I want:
                   pkg.exe -flag to run: setup.exe -flag.  So the arguments,
                   if any, are not known ahead of time but chosen by the
                   user.
                   \_ I'm gonna go out on a limb and say "this is dumb."
                   \_ Why do you want a self-extractor to do this? Just
                      write a setup program to do it. Let the
                      self-extractor simply extract.
                   \_ I'm gonna go out on a limb and say "this is dumb."
                      \_ This IS dumb and it breaks the UI rules for Windows.
                         Under Windows user interaction with a setup program
                         is done through the setup UI, i.e. installshield
                         or MSI's GUI scripts. So do it properly and have
                         the user interact with the setup UI, not through
                         some sort of nonstandard command like B.S. What
                         works for UNIX doesn't work for Windows.
                         \_ The question wasn't "is this a dumb thing to do".
                            The question was "does anything support this".
        \_ what about nullsoft's nsis?
        \_ Never mind everyone I've figured out a way of doing it.  It's
           stupid and usability will probably complain but it will work.
                   pkg.exe -flag to run: setup.exe -flag.
2025/07/09 [General] UID:1000 Activity:popular
7/9     

You may also be interested in these entries...
2013/3/25-5/18 [Computer/SW/OS/Windows] UID:54639 Activity:nil
3/25    It's strange that only every other Windows version is a hit.
        NT 4.0: hit
        2000:   flop
        XP:     hit
        Vista:  flop
        7:      hit
	...
2013/2/19-3/26 [Computer/SW/OS/OsX] UID:54611 Activity:nil
2/19    I program a lot by sshing to a Linux cluster.  So I'm used to using
        Xemacs to code.  This works fine from a Linux or Windows workstation,
        but sometimes I have to use a Mac.  On Mac, the meta is usually
        bound to option, but that often doesn't work over ssh for some reason.
        This makes using emacs a real pain.  Any suggestions on how to fix it?
        (Other than "use vi")
	...
2012/3/15-6/1 [Computer/SW/Languages, Computer/SW/OS/Windows] UID:54340 Activity:nil
3/15    Why does MS put double-quotes around the '8' in Windows Server 8, like
        the following?
        - Windows 8
        - Windows Server "8"
        \_ Because when they didn't do it, code didn't see the '\0'
           and went over?  Looks better than '8','\0' *shrug*
	...
2012/2/23-3/26 [Computer/SW/OS/Windows] UID:54312 Activity:nil
2/23    fixboot wrote FAT boot sector to my WinXP hard drive.  How can I convert
        the drive back to NTFS?
        \_ Does C:\WINDOWS\system32\convert.exe work?
	...
2011/12/21-2012/2/6 [Computer/HW/Laptop, Computer/SW/Editors/Emacs] UID:54269 Activity:nil
12/21   In Emacs, how do I make it so that it will resize its screen
        when the maximum resolution of my monitor changes? When I
        use my laptop, my emacs is too big (and I can't resize it
        because the bottom-right corner is not accessible).
        \_ Which OS?  Can't you drag the top border (not a corner) to resize
           the height to be smaller?
	...
2011/11/8-30 [Computer/SW/Security, Computer/SW/OS/Windows] UID:54218 Activity:nil
11/8    ObM$Sucks
        http://technet.microsoft.com/en-us/security/bulletin/ms11-083
        \_ How is this different from the hundreds of other M$ security
           vulnerabilities that people have been finding?
           \_ "The vulnerability could allow remote code execution if an
               attacker sends a continuous flow of specially crafted UDP
	...
2011/5/19-7/30 [Computer/SW/Security] UID:54110 Activity:nil
5/19    Uh, is anyone still using this? Please mark here if you post and
        haven't added this yet. I'll start:
        \_ person k
        \_ ausman, I check in about once a week.
        \_ erikred, twice a week or so.
        \_ mehlhaff, I login when I actually own my home directory instead of
	...
2011/2/14-4/20 [Computer/SW/Unix] UID:54039 Activity:nil
2/14    You sure soda isn't running windows in disguise?  It would explain the
        uptimes.
        \_ hardly, My winbox stays up longer.
        \_ Nobody cares about uptime anymore brother, that's what web2.0 has
           taught us.  Everything is "stateless".
           \_ You;d think gamers would care more about uptime.
	...
2011/4/6-20 [Computer/SW/Mail, Computer/SW/Unix, Industry/Startup] UID:54078 Activity:nil
4/6     My company is evaluating version control systems. Our two candidates
        are Perforce and Subversion. Anyone worked with both and have good
        arguments one way or the other? (These are the only two options we
        have.) We're most interested in client performance, ease of use, and
        reasonable branching.
        \_ I'll be 'that guy'. If perforce and subversion are optins, why isn't
	...