|
#1
|
|||
|
|||
|
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 ? |
|
#2
|
||||
|
||||
|
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));
|
|
#3
|
|||
|
|||
|
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 ? |
|
#4
|
||||
|
||||
|
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));
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". |
|
#5
|
|||
|
|||
|
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 |
|
#6
|
||||
|
||||
|
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 |
|
#7
|
|||
|
|||
|
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 |
|
#8
|
||||
|
||||
|
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. |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
All times are GMT -6. The time now is 08:48 AM.











Linear Mode
