Coretech Auto Install Warning 1.0.3 – Freeware Update

zip Coretech-AutoInstallWarning1.0.3.zip 358.15 kB
Downloaded 788 times

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.coretech.dk/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:

 <applicationSettings>
        <AutoInstallWarning.Properties.Settings>
            <setting name="WindowTitle" serializeAs="String">
                <value>Installation is about to begin</value>
            </setting>
            <setting name="BannerLocation" serializeAs="String">
                <value>.\banner.jpg</value>
            </setting>
        </AutoInstallWarning.Properties.Settings>
    </applicationSettings>
    <userSettings>
        <AutoInstallWarning.Properties.Settings>
            <setting name="CountDownTitle" serializeAs="String">
                <value>Closing in...</value>
            </setting>
            <setting name="TextSize" serializeAs="String">
                <value>9.75</value>
            </setting>
        </AutoInstallWarning.Properties.Settings>
    </userSettings>

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


Comments (19):

  1. Steve Wilkinson says:

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

  2. Gordon says:

    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. @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. @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 says:

    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 says:

    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 says:

    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 says:

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

    Thanks!

  9. Bconnors says:

    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

    • 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 says:

        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.

  10. Bconnors says:

    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 says:

    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.

  12. Jonathan says:

    Hi,

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

    thanks :)

  13. Fabian says:

    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

Leave a Reply

(required)