Results 1 to 2 of 2

Thread: InstallShield seems to copy random files!

  1. #1
    Join Date
    Oct 2006
    Posts
    1

    Unhappy InstallShield seems to copy random files!



    Wonder if anyone can help - have had the good people at Macrovision support try and they don't seem to be able to help! I am using InstallShield Express 12.

    Firstly, let me explain what I am trying to achieve. I would like my InstallShield to copy an exectuable (let's call it abc.exe) to a certain location (let's call it C:\). After I have copied the file, a want the InstallShield to run this file.

    When I run this file on it's own (i.e. I locate the file and double-click) this executable itself extracts and copies three files to a specific location. However, when I copy this file as part of the InstallShield and then get the InstallShield to execute the file, it copies the three files I wanted it to and also copies the entire contens of the C:\Windows\System32 directory to the same location. This is approximately 200 files (depending on what is installed on the computer). Why? And how do I stop it! As far as I know there are no dependencies for this executable so I haven't asked the InstallShield to install any other components! Help!!!!!!!

    Thanks.

  2. #2
    Join Date
    Jan 2006
    Posts
    1,114
    Your EXE file probably copies the contents of its working directory or something involving the working directory to another location. This is going to occur because the working directory of any MSI based custom action will be C:\Windows\System32.

    Windows Installer doesn't provide functionality for copying arbitrary files from one location to another without some form of custom action or directly authoring a table to which you do not have access with the Express product.

    With regard to Express Questions, we do ask that you post in the appropriate forum.

Posting Permissions

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