Our upper management wants me to install the Weatherbug Alert on all staff computers that would run all the time getting warnings about severe weather. Is this an ok idea from the standpoint of security?

It installs a desktop shortcut. When you run it the first time it also appears in the system tray. I don't see how I can avoid installing the desktop shortcut and the start menu entries and only use the system tray. I guess I could give simple instructions to the users, but I would rather do all the steps automatically.


Answer Summary:
2 Comments   [ - ] Hide Comments


  • Need more details, is the installer a MSI or EXE. Have you got a link? Seems pretty easy but if we have more info you would get a pretty spot on answer to what you require. Riley.
  • I do have an .msi
Please log in to comment

Answer this question or Comment on this question for clarity



Pending more details I can give you a better answer.

If this is a EXE installer, you would need to recapture the product to convert it into a MSI - check out AppDeploy Repackager for this, you will need some good Windows knowledge to remove the "junk" it captures.


If its a MSI, happy days. All you would need to do is remove the shortcuts from the Shortcut Table. If you needed it to Run on login, you can add a registry entry into the Registry Table - like this one.


To make the changes above to the MSI, you could use InstEd! Better than Orca as it will makes the required changes in other Tables as well.

Hope this helps.

Cheers, Riley.

Answered 06/11/2013 by: rileyz
Red Belt

Please log in to comment

If you install it thru a batch file you can add post install commmands to delete the shiortcut and call the exe from it location so it will go to the task bar.

start /wait msiecxec some.msi /qn

start /wait del %public%\desktop\some.lnk /q

start /wait rmdir "c:\program data\microsoft\windows\start menu\somedir /s /q

start /wait %programfiles%\somedir\some.exe

Answered 06/11/2013 by: SMal.tmcc
Red Belt

  • Great idea.

    Do any of you see any network or security problems with having this running on about 350 comptuers?
    • We have a some staff that has this installed and have not seen any malware problems associated with it, only some minor adware. the updates are small, no real overhead on the network. here are a couple of links about it
  • You are all so helpful and I am fairly new at this. I have a batch file with these lines:

    start /wait msiexec /i WeatherBugAlert.msi TARGETDIR="%programfiles%\AWS" ALLUSERS=1 /qn

    start /wait del "C:\Documents and Settings\All Users\Desktop\Weath*.*"

    reg add "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run" /v WeatherBugAlert /d "%programfiles%\AWS\WeatherBug Alert\WeatherBugAlert.exe" /f

    When it is finished there are still two command windows and if I close them it asks if I want to terminate the batch file. Why doesn't it just finish? All of the steps were successful.

  • I got it working. This is what is in my batch file:

    start /wait msiexec /i WeatherBugAlert.msi TARGETDIR="%programfiles%\AWS" ALLUSERS=1 /qn

    del "%AllUsersProfile%\Desktop\Weath*.*"

    The tasks in KACE are running this batch file and then 'setting a registry value'

    Set “HKLM\Software\Microsoft\Windows\CurrentVersion\Run!WeatherBugAlert†to “â€c:\program files\aws\WeatherBug Alert\weatherbugalert.exe“â€

    Thanks for all of your suggestions and help,.

    • with kace you can run everything in a script without a batch file.
      you would launch the msi task under verify
      then under on success
      task 1: launch cmd.exe with parameters del "%AllUsersProfile%\Desktop\Weath*.*"
      task 2: set the registry
  • SMAL- I tried running the .msi as a task in verify.

    I zipped weatherbug.msi and uploaded the .zip as the dependency.

    Directory: $(KACE_DEPENDENCY_DIR)
    File: msiexec
    Parameters: /i WeatherBugAlert.msi TARGETDIR="c:\Program Files\AWS" ALLUSERS=1 /qn /le c:\temp\bug.log

    No files appeared in the C:\Users\All Users\Dell\KACE\kbots_cache\packages\kbots folder.

    Got this result:
    Error creating process: C:\ProgramData\Dell\KACE\tmp\s3jza49r\packages\kbots\1289\msiexec /i WeatherBugAlert.msi TARGETDIR="c:\Program Files\AWS" ALLUSERS=1 /qn /le c:\temp\bug.log: (0) The operation completed successfully.
    Error Code: 0
    Status Code: 1622

    Where is my mistake?

    Thanks. I realize you aren't my personal scripting support, but if you have a minute, I would appreciate it.
    • Why did you zip the msi, just upload it and use parameters
      /i $(KACE_DEPENDENCY_DIR)\WeatherBugAlert.msi TARGETDIR="c:\Program Files\AWS" ALLUSERS=1 /qn /le c:\temp\bug.log
  • The first time I uploaded the .msi and it didn't end up in the folder.
    So am I launching a program and the directory should be SYS and the file be msiexec.exe?
    • directory should be $(KACE_SYS_DIR)
      program should be msiexec.exe
      with parameters/i $(KACE_DEPENDENCY_DIR)\WeatherBugAlert.msi TARGETDIR="c:\Program Files\AWS" ALLUSERS=1 /qn /le c:\temp\bug.log
Please log in to comment