Reply to Thread

Post a reply to the thread: Set temp location or Custom EXE Stub?

Your Message

Click here to log in

What's the name of our main installation product (in uppercase letters), directly followed by the current year?

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 09-11-2009, 01:27 AM
    linder

    Re: Set temp location or Custom EXE Stub?

    Hello,

    Before I can provide an answer, why do you have to access files in your temporary folder? Are you calling custom DLLs or EXEs?

    Friedrich
  • 09-11-2009, 01:02 AM
    UserWC

    Set temp location or Custom EXE Stub?

    So I have a script the calls ImpersonateLoggedOnUser to do some stuff in a specific account. This part is working fine. The problem is that when the exe starts up (before any of the script is run) it extracts some temporary files to the docs & settings\user name\local settings\temp directory, or something like that. When the script has changed users, that temp file is no longer accessible by the script because its now running with credentials different from when the temp file was created. So I need to be able to change users and still access those temp files. To do this I can think of these options:

    1) Change the location the the temp files are created, but I don't see anyway to do that.

    2) Change the permissions on the temp files, but I don't know the file names(They are all like SB123A.tmp). Also, I don't know if the permissions are changed immediately or later (I seem to recall doing that before and they were set after everything else was done).

    3) Change the EXE stub to a custom one. I don't think SB supports this (I had some installer years ago that did).

    4) Something I didn't think of.

    I'm using SB Developer 6.9 on a Windows XP box.

    Thanks,

Posting Permissions

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