Coretech Auto Install Warning 1.0.3 – Freeware Update

Download “Coretech-AutoInstallWarning1.0.3.zip” Coretech-AutoInstallWarning1.0.3.zip – Downloaded 4372 times – 358 KB

Since we had a user of this product asking to be able to show more text, I have created a new version of the utility.

This version is a quick update of the old version.

Window  has been resized to a bigger size and it is now possible to specify font size in the XML config file.

http://blog.ctglobalservices.com/confmgr07/software-distribution/running-a-custom-notification-before-installing-a-program-with-configuration-manager/

AutoInstallWarning

Requirements:

Windows XP / Vista / Server 2003 / 2008

Microsoft .Net 2.0 Framework

Windows installer 3.1 (required by the msi installer)

Command line:

AutoInstallWarning.exe “Windows Title” “Message” “timeout in seconds”

Example:

“C:\Program Files\Coretech\AutoInstallWarning\AutoInstallWarning.exe” “Office 2007 Installation” “Internal IT is deploying Office 2007, it might take approx. 30 minutes” 30

Remember all string arguments, must have quotes around them if they contain space.

The last arguments is an integer, and therefore it does not need quotes.

Files:

AutoInstallWarning.exe.config:

This xml file contain all application settings

Example:


Setting Description
WindowTitle The title for the window, this is not usually shown because it is set from the command line. But sometimes i could be shown for a short while (0-1 second)
BannerLocation Here you can change the name of the banner image file
CountDownTitle The label for the countdown can be changed here.
TextSize Font Size in message

banner.jpg:

This is the banner file, by default it is a coretech banner.

Change it to whatever you like.

 

AutoInstallWarning.exe:

The main application file

InstallWarningSetup.msi:

MSI Installer for the application.

Notice that the file are placed externally, this gives you the opportunity to change the baner, or settings, and keeåp using the same msi installer.

It is important that ALL files is placed in the same directory as the MSI file, for it to work

 

Errorcodes:

Errorcode Description
0 Application successfully completed
1 More or less arguments that the 3 required.
2 Argument 3 (timeout i second), can not be converted to an integer. Check

Banner:

 

Size: Must be 300×100 for the banner to show correctly, smaller or larger can be used also though, but they will not be resized.

Name: banner.jpg, by default. This name can be changed in the config file

By | 2011-01-04T16:33:59+00:00 January 4th, 2011|Configuration Manager (SCCM), General info, Tools|40 Comments

About the Author:

Jakob Gottlieb Svendsen

Twitter: @JakobGSvendsen

Jakob Gottlieb Svendsen is a Microsoft Cloud and Data Center Management MVP (http://mvp.microsoft.com/en-us/default.aspx), Working as Global Lead Developer, Senior Consultant and Trainer at CTGlobal, where he is one of the driving forces in keeping CTGlobal a System Center Gold Partner and member of the System Center Alliance.

Since he started at Coretech in 2007, he has focused on Scripting and Development, primarily developing tools, extensions and scripts for the System Center Suite. His main area is Automation (including OMS/Azure Automation, Service Management Automation, PowerShell and Orchestrator). Another area is Windows Azure Pack / Azure Stack, where he does implementation, development, workshops and presentations. He is a world-wide renowned voice in the Automation field.

He is passionately devoted to the community, to which he contributes by being a moderator at TechNet and sharing his knowledge at http://blog.ctglobalservices.com/jgs

  • Co-founder: PowerShell User Group Denmark
  • Speaker at MMS 2016, Minneapolis (www.mmsmoa.com)
  • SCU Europe 2014, 2015, 2016 (www.systemcenteruniverse.ch)
  • Microsoft TechEd North America 2014, Houston
  • NIC 2012,2013,2014,2015, Oslo (www.nic.com)
  • Microsoft CampusDays 2011, 2013, Copenhagen
  • Microsoft TechDays 2015, Sweden (www.techdays.se)
  • Microsoft Partner Event: New in SC2012 SP1
  • User group meetings (PSUG.DK , SCUG.DK/BE/NO, AZMUG + more)
  • Microsoft Certified Trainer.
  • Microsoft Scripting Guys Forum Moderator

Main working areas:

  • Automation (Azure Automation, SMA, SCO)
  • Windows Azure Pack / Azure Stack
  • System CenterVisual Studio Team Services / Team Foundation Server
  • Development:C#.Net, VB.NET, VBScript, PowerShell, Service Manager, OpsMgr, ConfigMgr
  • Orchestrator
  • Windows Azure Pack / Azure Stack

Training:

  • Azure Automation
  • Service Management Automation
  • System Center Orchestrator
  • PowerShell, VBScript, C#.Net, VB.Net
  • Windows Azure Pack / Azure Stack Development Workshops

40 Comments

  1. Steve Wilkinson February 11, 2011 at 21:06 - Reply

    Hi, This looks like a great bit of software! But when i follow the download links none of them seem to work??

  2. Gordon February 14, 2011 at 19:04 - Reply

    Hi,
    Love the utility, works great and looking forward to using it in the business.
    One question my manager has is what is the cost of this utility.
    I explained that your site says it is freeware but they want to know for sure.
    Is this really freeware?
    Thanks again for the tool, will make my users really happy
    gordon

  3. Jakob Gottlieb Svendsen
    Jakob Gottlieb Svendsen February 17, 2011 at 13:06 - Reply

    @Gordon

    i replied you in the other post too, but i’ll do it here also 😉

    Yes it is freeware, use it for any purpose you want, as long as you do not blame us if anything goes wrong (but what could possibly go wrong anyways?? ) 😉

    – Jakob

  4. Jakob Gottlieb Svendsen
    Jakob Gottlieb Svendsen February 17, 2011 at 13:07 - Reply

    @Steve

    it seems we had problems with the downloads links after moving to new web server, they should be fixed now!
    otherwise please tell us again thnx!

  5. Jeremy Higgins February 26, 2011 at 5:59 - Reply

    Would it be possible to remove the timer and the OK button? I would like to use something like this during my software deployments but I’m not sure how the timer would match up with the time length of the package.

    Thanks for the great work and for sharing!

  6. Mats Hellman March 10, 2011 at 12:04 - Reply

    Hi,
    Great program, one question comes to mind. Is it possible to set the timer for example to 0 and have the program wait for the user to initiate the deployment.
    We have a small addin for Office 2010 that just closes any open Word session in a /qn install. So if the user hasn’t saved their work when the install is done they’ll come looking for IT ;).

  7. Dennis Nielsen April 7, 2011 at 12:56 - Reply

    Hi, very nice app. As Jeremy and Mats mentioned, is it somehow possible to remove the counter, and wait for the user to press ok?
    As an alternative we could just set the timer extremely high, but would be cool if it was possible 😉

  8. JJ June 22, 2011 at 19:54 - Reply

    Does this work as a prompt to continue or not with the install, or just a warning message?

    Thanks!

  9. Bconnors September 2, 2011 at 21:15 - Reply

    Having problems runnig the program on XP and Windows 7. Opened a command prompt and tried to run the command line, nothing happens. The menu don’t start. I’m missing something, or do I need to edit the config file.

    Brian

    • Jakob Gottlieb Svendsen
      Jakob Gottlieb Svendsen September 4, 2011 at 19:46 - Reply

      Hi Brian

      Are you copying the commandline from somewhere?

      bucase i have seen that some formatting of the commandline (like in a blog like this) will change the quotation marks to some characters that commandprompt does not understand, and nothing happends if you try to run the command.

      if this is the case, try to re-write the commandline manually in the commandprompt.

      • Jd May 3, 2012 at 17:40 - Reply

        I am having the same issue here, i am trying to test this before going to the next step to create the package for SCCM.
        I can’t get the application to show up on Windows Xp SP3 32bit.

        • Johan November 2, 2012 at 11:59 - Reply

          Same here. Nothing happen no matter what I do. (Win7 x64)

  10. Bconnors September 6, 2011 at 21:59 - Reply

    Thanks for the response. Try the manual command line, no luck. Try it on both OS. I should be able to run the autoinstallwarning.exe inside windows explorer? With the default config file, the menu should come up? But nothing is coming up.

  11. Erik J September 20, 2011 at 10:06 - Reply

    I tried to change the banner but the new banner doesn’t display, I based it on the original banner. And when I change back to the original banner that’s doesn’t display either.

    • Thordur January 11, 2012 at 23:22 - Reply

      I got the same issue with the banner. Did you find a solution to this ?

  12. Jonathan February 21, 2012 at 16:58 - Reply

    Hi,

    Can you fix the requirements? it seems to be .Net 3.5 SP1 required… on 2.0

    thanks 🙂

    • Jonathan February 21, 2012 at 17:02 - Reply

      NOT* 2.0

      • Jakob Gottlieb Svendsen
        Jakob Gottlieb Svendsen February 27, 2012 at 10:07 - Reply

        Hello Jonathan

        Thanks.

        i had a problem when upgreading the project to visual studio 2010. Seems it changes the requirements automatically.

        at the moment i am working on version 2.0. Almost done.

        This will be fixed in 2.0 🙂

  13. Fabian April 12, 2012 at 17:23 - Reply

    Hello,

    is there a possibilty to add some more errorlevels?

    For Example,

    when I press the OK-Button, times end or I press the close button(uupper right site), everytime i get a errorlevel 0
    So its a bit hard to handle further steps. A nice feature would be that every option get another errorlevel
    OK-Button errorlevel=0
    Times ends errorlevel=1
    Chancel Program by Close buttom errorlevel=2

    Would this be possible? It would increase the handling a lot!

    Thanks you for a feedback

    Br

    Fabian

  14. Shri November 5, 2012 at 11:21 - Reply

    Hi
    Can this be done via SCCM 2012 . If so can you please show the steps.
    Thanks
    Shri

  15. Shri November 6, 2012 at 12:37 - Reply

    Gents
    Any idea? I installed the application. Then I tried to push down it cannot pop up..
    Please help

  16. Rick Gates December 21, 2012 at 20:43 - Reply

    Can you provide source code for auto install warning tool?

  17. Chris January 17, 2013 at 13:24 - Reply

    Hi Jakob,

    Is this compatible with the SCCM 2012 App Store?

    Regards

    Chris.

  18. Kreg February 18, 2013 at 13:43 - Reply

    Hi !
    Very good tool : small and efficient 🙂
    I guess it’s not open source and you do not share the source code. It’s pity but I understand !

    BTW, I (and I guess other admin guys) have some delicate users. These users can’t be distracted with popup.
    I would like to offer them a System notification (a ballon information) with a corporate message > much like native sccm, but personalizing the message …
    Do you have an idea for that ?
    Thanks again for the InstallWarning tool 🙂

    Kreg

    • Jakob Gottlieb Svendsen
      Jakob Gottlieb Svendsen February 18, 2013 at 14:21 - Reply

      thank you.

      do a search for systray balloon on the net and you should find something.

      i dont know any names of a tool though, but it is simple to make in .net, and you should be able to find a sample to start with.

  19. Gus February 22, 2013 at 16:58 - Reply

    Just curious if anyone else is having this issue.

    The tool works fine except the banner. The banner doesnt show if i run the program from a unc path.

    Any ideas?

    I even made a batch to copy the folder to temp and then run it from the temp but the banner doesnt show. if i go and run the file directly from temp then the banner shows.

    • Jakob Gottlieb Svendsen
      Jakob Gottlieb Svendsen February 25, 2013 at 14:25 - Reply

      hello Gus!

      thnx for your reply.
      unfortunately this version is not supported from UNC Paths.

      i am working on a new version for release soon.

      • Gus February 25, 2013 at 19:52 - Reply

        That sounds great Jakob. Great job the way.

  20. Gary Pearson May 30, 2013 at 22:30 - Reply

    Gus

    Can this be used when deploying Windows Updates through SCCM 2007. Is there a way to allow SCCM 2007 Windows Updates to have a postpone feature? My understanding is SCCM 2007 will not allow a postpone feature, if not is there documentation to support that?

    Thank you

  21. spanish listening translator July 22, 2014 at 1:39 - Reply

    What i do not understood is actually how you’re no longer really a lot
    more well-liked than you may be right now. You’re very intelligent.
    You recognize thus considerably with regards to this subject,
    produced mee for my part believe itt from numerous varied angles.
    Its like men and women aren’t interested unless it is something to do with Girl
    gaga! Your personal stuffs outstanding.Always deal with it up!

    Also visikt my page :: spanish listening translator

  22. gia xe mercedes m class October 15, 2014 at 4:11 - Reply

    gia xe mercedes m class

    Coretech Blog » Blog Archive » Coretech Auto Install Warning 1.0.3 – Freeware Update

  23. Rikard Strand October 30, 2014 at 11:10 - Reply

    Hello,

    Thanks for the tool. If possible I would like to have 2 addons to the tool:
    1) Possiblities for “Remind me later” (with a button remind in 1 hour or similiar and a error code of E_FAIL_EXECUTION_NONFATAL)
    2) Bigger area for the clock ticking down (i.e. more characters shown – 5 chars)

    • Jakob Gottlieb Svendsen
      Jakob Gottlieb Svendsen October 31, 2014 at 9:40 - Reply

      HEllo Rikard!

      Great to hear yo uare using the tool 🙂

      Currently there is no planned release of an updated version, my calendar is full of customers at the moment.
      but i will note your requests on the list.
      If you want a custom version, we can easily help you, but it will cost a few hours. 🙂

      – Jakob

  24. Christian February 19, 2015 at 16:19 - Reply

    Hello Jakob,
    first of all: thanks for the great tool.

    Is it possible to run the tool before an application deployment and before software update deployments?
    (There is no option to “run a program first” for these two deployment types in SCCM 2012 R2)

    Thanks for your help
    Christian

  25. Ed March 18, 2015 at 20:06 - Reply

    Thanks a lot for posting this. Saved us a lot of work and headaches.

  26. Lee July 7, 2016 at 12:53 - Reply

    Hi
    Is it possible to block keyboard entry. And only use the mouse to click on Ok? This would minimise any issues where the user accidentally presses enter and misses the prompt.

    • Jakob Gottlieb Svendsen
      Jakob Gottlieb Svendsen August 1, 2016 at 10:07 - Reply

      hello Lee

      sorry not possible in this version. If you need I can can give you an offer for a custom version of the app with your feature(s) added. contact me on my email jgs at Coretech.dk

  27. Manoj August 4, 2016 at 17:28 - Reply

    Hello,

    Thanks a lot for the Tool. But I’m facing when i use this Tool in PUSH Deployment. I can able to see the EXE running in the Background but the Message is not getting displayed in the foreground. Could you please Guide me on how to implement it .

    Thanks
    Manoj

Leave A Comment