Indigo Rose Software

Go Back   Indigo Rose Software Forums > Setup Factory 8.0 > Setup Factory 8.0 Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 10-24-2008
searcher123 searcher123 is offline
Forum Member
 
Join Date: Jun 2007
Posts: 59
What is the difference between %MyDocumentsFolder% and %LaunchUserMyDocumentsFolder%?

Dears,
%LaunchUserMyDocumentsFolder% and %MyDocumentsFolder% variables both have equal values all the time. What is the difference between them?

Thanks
Reply With Quote
  #2  
Old 10-24-2008
jassing's Avatar
jassing jassing is offline
Indigo Rose Customer
 
Join Date: Jan 2001
Location: Anderson Island, WA, USA
Posts: 1,899
The help seems pretty clear; but for the help file challenaged:

Code:
%LaunchUserMyDocumentsFolder%
The personal (My Documents) folder of the user who launched the setup when Collect launch user information is selected. Usually this is something like "C:\Documents and Settings\YourName\My Documents" on Windows 2000/XP, "C:\My Documents" on Windows 98/ME, and "C:\Users\YourName\Documents" on Windows Vista.

Note: Windows 95 did not have the My Documents folder and this variable will return "C:" if run on such a system.
vs.

Code:
%MyDocumentsFolder%
The user's personal (My Documents) folder on their system. Usually this is something like "C:\Documents and Settings\YourName\My Documents" on Windows 2000/XP, "C:\My Documents" on Windows 98/ME, and "C:\Users\YourName\Documents" on Windows Vista.
__________________
Reply With Quote
  #3  
Old 10-25-2008
searcher123 searcher123 is offline
Forum Member
 
Join Date: Jun 2007
Posts: 59
Quote:
Originally Posted by jassing View Post
The help seems pretty clear(...)
I read the help before my question, but I didn't understand any difference between them practically!. In practice, both variable have alike values all the time!

Best Regards
Reply With Quote
  #4  
Old 10-25-2008
pww's Avatar
pww pww is offline
Forum Member
 
Join Date: Jun 2005
Posts: 343
usually installing some software requires admin privileges.

But you may be currently logged on as a restricted user, and start the installer by right click -> Run as ...
In that case %LaunchUserMyDocumentsFolder% will be sth like
C:\Documents and Settings\Some_Restricted_User\My Documents

, while %MyDocumentsFolder% will be sth like
C:\Documents and Settings\Some_Admin_User\My Documents

If you start the installer logged as admin, both will be the same.
Reply With Quote
  #5  
Old 10-25-2008
searcher123 searcher123 is offline
Forum Member
 
Join Date: Jun 2007
Posts: 59
Quote:
Originally Posted by pww View Post
usually installing some software requires admin privileges.

But you may be currently logged on as a restricted user, and start the installer by right click -> Run as ...
In that case %LaunchUserMyDocumentsFolder% will be sth like
C:\Documents and Settings\Some_Restricted_User\My Documents

, while %MyDocumentsFolder% will be sth like
C:\Documents and Settings\Some_Admin_User\My Documents

If you start the installer logged as admin, both will be the same.
Thanks for your reply,
I was thinking so and I was very glad to meet this feature, because I was waiting for that for a long time. But when I check it, I see these two variable have alike values when I ran my test file with Run AS and without Run As under a limited account.

Best Regards
Reply With Quote
  #6  
Old 10-25-2008
jcuster jcuster is offline
Indigo Rose Customer
 
Join Date: Jul 2001
Location: Harrisburg, PA , USA
Posts: 91
Quote:
The help seems pretty clear; but for the help file challenaged:
This kind of remark is dangerously rude for customers of SUF. I'm sure IR Staff would agree.
Reply With Quote
  #7  
Old 10-25-2008
jassing's Avatar
jassing jassing is offline
Indigo Rose Customer
 
Join Date: Jan 2001
Location: Anderson Island, WA, USA
Posts: 1,899
Quote:
Originally Posted by jcuster View Post
This kind of remark is dangerously rude for customers of SUF. I'm sure IR Staff would agree.
Didn't mean it to be offensive; sorry if it came off that way.
__________________
Reply With Quote
  #8  
Old 10-26-2008
pww's Avatar
pww pww is offline
Forum Member
 
Join Date: Jun 2005
Posts: 343
Quote:
Originally Posted by searcher123 View Post
Thanks for your reply,
I was thinking so and I was very glad to meet this feature, because I was waiting for that for a long time. But when I check it, I see these two variable have alike values when I ran my test file with Run AS and without Run As under a limited account.
Do you have 'Collect launch user information' option enabled?
If value is the same, what it is - for the limited account or for an admin account?
Reply With Quote
  #9  
Old 10-27-2008
searcher123 searcher123 is offline
Forum Member
 
Join Date: Jun 2007
Posts: 59
Quote:
Originally Posted by pww View Post
Do you have 'Collect launch user information' option enabled?
Of course yes.

Quote:
Originally Posted by pww View Post
If value is the same, what it is - for the limited account or for an admin account?
Under Run As condition, "Admin Account" and in normal running, "Limited Account".
Reply With Quote
  #10  
Old 10-27-2008
pww's Avatar
pww pww is offline
Forum Member
 
Join Date: Jun 2005
Posts: 343
well .. hmm ..
Does the installation complete OK if started from a limited account?
Does it actually need admin rights to complete?
Do you have 'Require administartor' enabled ?
On what OS you're testing?
Reply With Quote
  #11  
Old 10-28-2008
searcher123 searcher123 is offline
Forum Member
 
Join Date: Jun 2007
Posts: 59
Quote:
Originally Posted by pww View Post
well .. hmm ..
Does the installation complete OK if started from a limited account?
I didn't install any file, I used the setup just for testing these two variable and my setup was executed without any error.

Quote:
Originally Posted by pww View Post
Does it actually need admin rights to complete?
Do you have 'Require administartor' enabled ?
I tested many situations, all with the same results!

Quote:
Originally Posted by pww View Post
On what OS you're testing?
WinXP Pro (With and without SP1, SP2 & SP3)

Best Regards
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What’s the difference between an Installer builder and a Patch builder? Adam Visual Patch 3.5 FAQ 0 12-19-2007 02:04 PM
What`s the difference between e_FSCommand and e_FSArgs? handsomer100 AutoPlay Media Studio 5.0 2 04-05-2005 08:34 PM
INFO: Difference between the Media Player Object and the AVI Object Support AutoPlay Media Studio 4.0 Examples 0 10-29-2002 03:15 PM
INFO: The Difference Between Preview and Build Support AutoPlay Menu Studio 3.0 0 10-29-2002 01:22 PM
INFO: The Difference between the "On Close" and "On Destroy" Events Support AutoPlay Media Studio 4.0 Examples 0 10-03-2002 03:10 PM


All times are GMT -6. The time now is 06:25 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software