/build/static/layout/Breadcrumb_cap_w.png

Display message when running the program the first time

Hi guys,

Thanks a lot for the support you guys give. I have got lot of help from this site and I count it to be the best of all.

 

Coming to my problem. I have to display a message to the end user when running the first time that they need to contact the vendor that they dont have the license. Is there a way that we can do it. I am using Wise package studio 7.0 to package.

Thank you guys very much in advance.

Sid


0 Comments   [ + ] Show comments

Answers (5)

Answer Summary:
Can use AutoIt to make an executable and run it at the end. Or use a bootstrapper where you have a coloumn where you can have a custom message displayed at the end of the install.
Posted by: dugullett 11 years ago
Red Belt
2

What software?


Comments:
  • Axe. Which i have tried to install it in an environment and they said that the license are cannot be floated. So i have to display a message as soon as they get the software installed. - Sidhugadu 11 years ago
    • I've used AutoIT for things like this before. The MsgBox command is what I use. This will create an exe that will display whatever message you need. I would then do as Chris suggested and use a runonce and call that exe.

      http://www.autoitscript.com/autoit3/docs/functions/MsgBox.htm

      Download:
      http://www.autoitscript.com/site/autoit/

      Sample:
      $answer = MsgBox(0, "Axe Install", "Please contact vendor for license.")

      If $answer = 1 Then
      Exit
      EndIf

      You can even get creative and when they click ok it will launch the vendor URL. - dugullett 11 years ago
  • Also do the same thing with one line of vbs...

    msgbox ("Please Contact vendor for license")

    Obviously some use AutoIT due to environment restrictions, advanced needs, and that is what they are used to (among others).

    I personally have only "needed" to use it once in 10 years packaging and deploying software. But as I said, environments and needs are different everywhere you go. - dandirk 11 years ago
Posted by: chris128 11 years ago
Orange Belt
2

Maybe just have your package add something to the RunOnce registry key (HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce) so that next time they log on after the package has been installed they get a message and then Windows will remove the entry automatically so they don't see it again next time they log in. I think that would be a lot easier than trying to get the message to appear the first time they launched the application itself, but I might be wrong.


Comments:
  • I will try in giving it a shot. Thanks Chris. - Sidhugadu 11 years ago
Posted by: dandirk 11 years ago
Third Degree Green Belt
2

First question is what type of envronment?  Shared or single user computers?

If shared you almost have to build for the possibility that any user that logs into a computer needs to be taken into account.

If single user, Chris' suggestion would work ok.

Second question... Is the installer an msi (or are your packaging it into one?), and are you familiar with msi modification?

If using msi installer, there are a number of options for launching a dialog either at install, app launch or login/boot depending what your needs are.

You could also script the short-cut to launch the app so it runs a check for license, if not found dialog appear...  If found modify shortcut then launch app...  Pretty messy but do-able.

Posted by: hrs2cool 11 years ago
Black Belt
1

The same can be achieved through wise script also :

item: Display Message
  Title=LICENSE
  Text=Please Contact vendor for license
  Flags=00000100
end

Posted by: piyushnasa 11 years ago
Red Belt
1

Run the script to popup message after InstallFinalize in your MSI.

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ