Results 1 to 7 of 7

Thread: Setting the Path environment with SetupBuilder

  1. #1

    Default Setting the Path environment with SetupBuilder

    Hi All,

    For our application, we use SetupBulder to compile a setup.exe, to distribute to our 2000
    customers.
    We let SetupBuilder alter the Path in the system environment.

    When I inspect the Path in the system enviroment, I can see it is altered by SetupBuilder.
    However with some of our customers, when I open a DOS box and enter Path at the prompt, it gives
    me the old path!?!?!
    This problem can be solved by restarting the PC.

    What I don't understand is that with 80%-90% of our customers, a restart isn't nessecary - the
    path is correct in the DOS box.
    With only a handfull, I need to restart the PC - why?
    All systems are equal and run XP

    TIA
    Maarten

  2. #2

    Default Re: Setting the Path environment with SetupBuilder

    Maarten,

    You might want to repost this in the SetupBuilder NG.

    > All systems are equal and run XP

    Are all users equal?

    --
    Lee White

    RPM Report Viewer.: http://www.cwaddons.com/products/rpm/
    RPM Review........: http://www.clarionmag.com/cmag/v11/v11n06rpm.html
    Report Faxing.....: http://www.cwaddons.com/products/afe/
    ---Enroll Today---: http://CWaddons.com

    Enhanced Reporting: http://CreativeReporting.com

    Product Release & Update Notices
    http://twitter.com/DeveloperPLUS

    Windows 8 brings us "The Oval, Bumper Car, Roller Coaster of Wait!"

  3. #3

    Default Re: Setting the Path environment with SetupBuilder

    Hi Lee,

    > You might want to repost this in the SetupBuilder NG.
    I don't subscribe to that ng (I have no problems with SB<g>), hence I posted here.

    >> All systems are equal and run XP
    Equal as in 'comparable'

    > Are all users equal?
    Most systems are brought up with the same image.
    I haven't found a pattern for the PC's that don't and those that do.
    On the next occasion (the customer must report the problem as this is an automated system) I'll
    check if any changes were made in the user's profiles.


    Tnx
    Maarten

  4. #4

    Default Re: Setting the Path environment with SetupBuilder

    That's with a new command prompt window?

    Jeff Slarve
    www.jssoftware.com
    www.twitter.com/jslarve
    I'll search help files & Google for you.

  5. #5

    Default Re: Setting the Path environment with SetupBuilder

    Hi Jeff,

    > That's with a new command prompt window?
    Of course, else it would not inherit the (new) system environment.

    Tnx
    Maarten

  6. #6

    Default Re: Setting the Path environment with SetupBuilder

    My guess is that the setup.exe is running with Admin rights and the normal user is not
    in the admin group. So, you are altering the Admin Path and that does not affect the
    User's Path which is probably inherited from the Admin settings at startup, or even
    logoff-log back in.

    How to fix? Don't know, sorry

    JohnG

  7. #7

    Default Re: Setting the Path environment with SetupBuilder

    Hi John,

    > My guess is that the setup.exe is running with Admin rights and the normal user is not
    > in the admin group. So, you are altering the Admin Path and that does not affect the
    > User's Path which is probably inherited from the Admin settings at startup, or even
    > logoff-log back in.
    You might be right but I thought that rights are not so tight on XP.
    It's something to check anyway.

    > How to fix? Don't know, sorry
    Restart the PC, easy<g>
    But when it happens to only 10% of our customers then we'll still get 200 unneccesay support
    calls.

    Tnx
    Maarten

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •