User Tag List

Results 1 to 9 of 9

Thread: Installing files to "My documents" of all users

  1. #1
    No Products Registered

    Join Date
    Jan 2011
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Installing files to "My documents" of all users

    Hello,

    I just bought Install Creator Pro and I have some questions. This is the main one:

    To finish my first installation package I would need to copy a non-empty folder to the "My documents" (or Documents in Vista Win7) folder of all users. Is this possible with Install Creator Pro? Is there a way to do it not only for existing users, but for all users, which will be created in the future?

    If the answer is no, then: is there such a mechanism in Windows (so that I could create a small helper application, which would be invoked during the installation process)?

    Thanks

  2. #2
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: Installing files to "My documents" of all users

    Hello,

    You can use the #AllUsersDocuments# macro for that (replaced by the Documents directory of all users, usually C:\Users\Public\Documents on Vista).

    If you want to install all the files to this directory, then the easiest way to do it is to enter #AllUsersDocuments#\YourFolder in the Default Install directory in the Options tab.

    If you want to install only a part of the files and don't want the user to be able to modify the name of this folder, select the files in the Files list and then select the File Options / Windows tab, set the Install Directory to "Other" and enter #AllUsersDocuments#\YourFolder in the box below. Note: the original directory tree of the files installed to a specific directory via this method is ignored, i.e. the files will be installed to #AllUsersDocuments#\YourFolder even if they are in dir1\dir2\dir3 in the source directory.


  3. #3
    No Products Registered

    Join Date
    Jan 2011
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Installing files to "My documents" of all users

    Thanks for the quick answer.

    But I am not sure if it is the solution for me.

    It seems to me that the #AllUsersDocuments# is a place all users can access and change. So it is not the place I am looking for.

    My software is a video editor, so each user needs a default place to save his own video projects as well as the resulting created videos. Additionally at the very beginning I do not want to make an empty folder, but I want to put there some files for the user to try out and modify them (each user on its own).

    So I need to create a "#MyDocuments#\My movies" folder literally for each user on that computer. I think that this is the usual way how many software works (thet every user stores files under MyDocuments\something) so I am surprised that there seems to be no standard mechanism to achieve it at the moment of installation.

    So isn't there a better solution for me than creating a an own helper program, which copies the files for all existing users and change the program so that it would create the folder for all new users?

    I thought that maybe the "Default user" server the purpose to define what should the Users/xxxxx folder look like for any new user xxxxx. Is it true or not?

  4. #4
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: Installing files to "My documents" of all users

    There is no option for that in Install Creator, it cannot create a folder in the MyDocuments directory of each user, sorry.

    Maybe you can do it in your program? (if the local MyDocuments folder doesn't contain your folder, it could create it and copy the original files from the directory of your program in Program Files?)

  5. #5
    No Products Registered

    Join Date
    Jan 2011
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Installing files to "My documents" of all users

    Thanks for your reply.

    Yes, I considered including it into the application itself. Or maybe I will create the helper program, which would do it during installation.

    In the meantime I also experimented with "Users\Default\My Documents". And I found out that in Win7 it works like I expected - when I copy something to that location and after that I create a user then the new user has a copy of all things from "Users\Default\My Documents" in its My Documents.
    So maybe you could consider having a macro #DefaultDocuments# for this purpose. I am not sure if #AllUsersDir#\Default\Documents will do it for all language versions of Windows...

  6. #6
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: Installing files to "My documents" of all users

    Hmm, yes we could add this macro... I'll take a look.

  7. #7
    No Products Registered

    Join Date
    Mar 2011
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Installing files to "My documents" of all users

    Hello

    I am using, for now, an uregistered Install Creator build #39. I want to install to a sub-directory of "All Users" and I have tried using the #AllUsersDocuments# macro as the default installation directory but it just returns empty. Is this macro missing from my version of Install Creator or is it me that's missing something?

  8. #8
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: Installing files to "My documents" of all users

    Yes, this macro is only in Install Creator Pro.

  9. #9
    No Products Registered

    Join Date
    Mar 2011
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Installing files to "My documents" of all users

    Quote Originally Posted by Yves
    Yes, this macro is only in Install Creator Pro.
    I'd better put my hand in my pocket then!

    Thanks

Similar Threads

  1. "Flash / INI object: now loads INI files stored as binary files in the application."
    By EdibleWare in forum SWF/Flash Export Module Version 2.0
    Replies: 5
    Last Post: 2nd July 2014, 10:22 AM
  2. Accessing "C:\Users\USERNAME\AppData\Roaming\Clickteam\offli ne3.INI"
    By Xeeko in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 29th June 2012, 06:06 AM
  3. "Locking" game files? +Unlocking from inside the app?
    By Tsun in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 14th January 2012, 10:09 AM
  4. Help with "installing" the Extension SDK?
    By Numbuh_214 in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 13th September 2009, 06:53 AM
  5. ".dll" files and ".ox" ActiveX Control install
    By himan in forum Install Creator and Patch Maker
    Replies: 5
    Last Post: 3rd April 2008, 02:49 PM

Posting Permissions

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