Install/Execute Mode when installing

Posted on 2009-04-22
Last Modified: 2013-11-21

I have a small problem with the installation of a mail component we use with an inhouse designed app. The server is a terminal server and hosts TS licensing and I'm aware of the best practices when installing on one of these (eg from a console session, install mode turned on etc)

Basically, the app appears to install fine (under Execute mode or Install mode) as I'd expect. The installation dumps it's licence file on the root of C:\. When I switch back to execute mode after the installation, the app won't work as it cannot 'see' the licence file (also the same if the installation is completed under Execute), but when I switch it back to Install mode, the app opens and works fine.
Is it safe to leave the account in install mode and am i right in assuming this change to the account is specific to this machine only?

Hope someone can help :)


Question by:the1paulcole
    LVL 82

    Accepted Solution

    Besides from it switching back to execute mode after a reboot anyway: no, you can NOT let a terminal server run in installation mode.
    You need to change your application; the system root is NOT a good place for a license file. This should go, for example, into the program's folder or into %AllUsersProfile%\Application Data\YourprogrameName\license.txt.
    LVL 1

    Author Closing Comment

    Well, you've answered the question for me, even though it's not quite what I wanted to hear. Unfortunately, the app is out of my control as it's 3rd party. Another server it is then :)
    LVL 1

    Author Comment

    I've just managed to get around this problem after all and very easily. I renamed the executable to something other than setup.exe and, whilst still in Execute mode, it ran through perfectly and opens up without a problem.
    LVL 82

    Expert Comment

    The regular *executable* of the program is actually called "setup.exe" by default? That's the second "not so good" feature of this program.
    A terminal server in application mode will monitor the programs started, and try to warn about the install mode if the program is called install.exe or setup.exe.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    One of the most frequently asked questions on EE in the "Windows Installer" zone is how to eliminate self-triggered installation of some product.  The problem occurs when, suddenly, whenever a certain application is launched, or even when a folder i…
    Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip Migration Tip #1 – Source Server Health can be found listed in my profile here: http:…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now