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 2 Weeks Ago
walids walids is offline
Forum Member
 
Join Date: Nov 2009
Posts: 4
Oops how to copy some files to local settings\Application Data\example??

hello
iam new in setup facory

now i added my files which will install to my program files and i added path to it
%AppFolder% from file properties
still i have 1 file i need to install it to path

default user \Local Settings\Application Data\example\aaa

i cannot know how to make it ?
Reply With Quote
  #2  
Old 2 Weeks Ago
jassing's Avatar
jassing jassing is offline
Indigo Rose Customer
 
Join Date: Jan 2001
Location: Anderson Island, WA, USA
Posts: 1,901
There is no sessionvar specifically for "default user" so you'll need to "make it"

On way is to do this, in either "start up" or "pre-install" and set your file to install to "%MyDataFolder%"


Code:
SessionVar.Set("%MyDataFolder%", String.Replace(SessionVar.Expand("%ApplicationDataFolder%\\example\\aaa"), System.GetLANInfo().User,"Default User",false));
__________________
Reply With Quote
  #3  
Old 2 Weeks Ago
walids walids is offline
Forum Member
 
Join Date: Nov 2009
Posts: 4
dear friend jassing
after apply found that
i found the file "path" installed here

\"default user"\Application Data
not here
\"default user"\Local Settings\Application Data

could you please fix it ?
Reply With Quote
  #4  
Old 2 Weeks Ago
jassing's Avatar
jassing jassing is offline
Indigo Rose Customer
 
Join Date: Jan 2001
Location: Anderson Island, WA, USA
Posts: 1,901
Quote:
Originally Posted by walids View Post
could you please fix it ?
Did you make any effort at learning the code?

Code:
SessionVar.Set("%MyDataFolder%", String.Replace(SessionVar.Expand("%ApplicationDataFolder%\\example\\aaa"), System.GetLANInfo().User,"Default User\\Local settings",false));
You'll want to take some time and look at the code, read the help&manual to understand what's going on -- You'll find people (in general) much more willing to help if you post "what you've tried" so we know you're at least tyring to learn...

Remember, this is user to user, not IndigoRose to user... I'm a customer, just like you. I get emails with threads I've subscribed to are updated, you don't need to click live-chat just to say "please respond".
__________________
Reply With Quote
  #5  
Old 2 Weeks Ago
walids walids is offline
Forum Member
 
Join Date: Nov 2009
Posts: 4
dear
i found that script created new folder in "Documents and Settings " called "deafult user"
new path
C:\Documents and Settings\Default User\Application Data\example\aaa

while iam running administrator as default user
path:
C:\Documents and Settings\Administrator\Local Settings\Application Data

please check it
Reply With Quote
  #6  
Old 2 Weeks Ago
jassing's Avatar
jassing jassing is offline
Indigo Rose Customer
 
Join Date: Jan 2001
Location: Anderson Island, WA, USA
Posts: 1,901
Did you check it?

c'mon -- at least try to look at and understand the code.
the 2nd bit of code has your "local settings" change.

Either post what you've tried, or try rephrasing your question; your last post confused me excpet for you "please check it" part.

Good luck
-josh
__________________
Reply With Quote
  #7  
Old 2 Weeks Ago
walids walids is offline
Forum Member
 
Join Date: Nov 2009
Posts: 4
yes i checked it first
look to print screen i took
this first one before install



the second one after install



the default user is "administrator" \local settings\"appdata" not effected
the script make new folder as shown

thanks
Reply With Quote
  #8  
Old 2 Weeks Ago
jassing's Avatar
jassing jassing is offline
Indigo Rose Customer
 
Join Date: Jan 2001
Location: Anderson Island, WA, USA
Posts: 1,901
YOU ASKED for "default user"...
Looking at your original post, you said:
default user \Local Settings\Application Data\example\aaa

Really; have a look at the help -- all the tools you need are already presented to you. Just read the help; alter the code as needed

if you mean "current user" say that -- and say you want hte user's login id... but, I think you should be good to go on this - take some time, read the help; post your code that you try; you'll get better answers if you try and need help than just say "do it for me".
__________________

Last edited by jassing; 2 Weeks Ago at 11:22 PM.
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



All times are GMT -6. The time now is 08:48 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