| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Hi all Just to know Installing a program with a localized version of Vista (Italian here), Vista say that the destination directory is "Program files" instead of the localized name ("Programmi" in Italian). Also WorkDir() give the English name. So the installed software will be: "C:\Programmi\YourSoftwareName" but WorkDir() will report "C:\Program files\YourSoftwareName" -- Ciao Alessandro |
|
#2
| |||
| |||
| Alessandro, I think C:\Program files\YourSoftwareName is the real folder name. You can see this when opening a command window in the folder. When you use windows explorer the explorer 'fools' you to show the italian name C:\Programmi\YourSoftwareName. This is also the case for the MyDocuments folder (and many others). John Alessandro m. Antonangeli schreef: > Hi all > Just to know > Installing a program with a localized version of Vista (Italian here), Vista > say that the destination directory is "Program files" instead of the > localized name ("Programmi" in Italian). > Also WorkDir() give the English name. > So the installed software will be: > > "C:\Programmi\YourSoftwareName" > > but WorkDir() will report > > "C:\Program files\YourSoftwareName" > > |
|
#3
| |||
| |||
| You may be right, I do not have Vista. It happened to a client of mine. Working ok on XP. The problem is that if you try to create a file FCreate(WorkDir()+FileName) it do not work because of the wrong path -- Ciao Alessandro "John Martens" <adsl672100@tiscali.nl> ha scritto nel messaggio news:48bc39d6$0$24400$5fc3050@news.tiscali.nl... > Alessandro, > > I think C:\Program files\YourSoftwareName is the real folder name. You can > see this when opening a command window in the folder. > When you use windows explorer the explorer 'fools' you to show the italian > name C:\Programmi\YourSoftwareName. > > This is also the case for the MyDocuments folder (and many others). > > John > > > Alessandro m. Antonangeli schreef: >> Hi all >> Just to know >> Installing a program with a localized version of Vista (Italian here), >> Vista say that the destination directory is "Program files" instead of >> the localized name ("Programmi" in Italian). >> Also WorkDir() give the English name. >> So the installed software will be: >> >> "C:\Programmi\YourSoftwareName" >> >> but WorkDir() will report >> >> "C:\Program files\YourSoftwareName" >> |
|
#4
| |||
| |||
| Alessandro I'm using Vista but this returns the true-line: IF File("C:\Program Files\cavo28\Bin\VO.ICO") InfoBox{,, "VO.ICO is there"}:Show() ELSE ErrorBox{,, "VO.ICO is not there"}:Show() ENDIF Vista is more critical on writing to C:\Program files for non Admin users. This is redirected to the folder of the user. If you have another question about Vista dirs let me know. John Alessandro m. Antonangeli schreef: > You may be right, I do not have Vista. It happened to a client of mine. > Working ok on XP. > The problem is that if you try to create a file FCreate(WorkDir()+FileName) > it do not work because of the wrong path |
|
#5
| |||
| |||
| Alessandro m. Antonangeli ci ha detto : > Hi all > Just to know > Installing a program with a localized version of Vista (Italian here), Vista > say that the destination directory is "Program files" instead of the > localized name ("Programmi" in Italian). > Also WorkDir() give the English name. > So the installed software will be: > > "C:\Programmi\YourSoftwareName" > > but WorkDir() will report > > "C:\Program files\YourSoftwareName" Alessandro, this is right, Vista uses alias on Program Files. ciao Stefano |
|
#6
| |||
| |||
| Uh, there must be a strange logical behind this I installed in "program files" (Inno Setup) It was really installed in "Programmi" It reports "Program files" If I create a file it must be in "Programmi", because it didnt create a file if i use "Program files" So, if I do standard installation of a program of mine, let say, in a Japanese pc, I should now the Japanese name of "Program Files" in order to create a file? -- Ciao Alessandro "John Martens" <adsl672100@tiscali.nl> ha scritto nel messaggio news:48bd5b48$0$24410$5fc3050@news.tiscali.nl... > Alessandro > > I'm using Vista but this returns the true-line: > IF File("C:\Program Files\cavo28\Bin\VO.ICO") > InfoBox{,, "VO.ICO is there"}:Show() > ELSE > ErrorBox{,, "VO.ICO is not there"}:Show() > ENDIF > > Vista is more critical on writing to C:\Program files for non Admin users. > This is redirected to the folder of the user. > > If you have another question about Vista dirs let me know. > > John > > > Alessandro m. Antonangeli schreef: >> You may be right, I do not have Vista. It happened to a client of mine. >> Working ok on XP. >> The problem is that if you try to create a file >> FCreate(WorkDir()+FileName) it do not work because of the wrong path |
|
#7
| |||
| |||
| Alessandro, I do not think the problem is in the language of the two dirs. The problem is in not creating the file. What kind of user runs the app ? Admin of regular ? John Alessandro Antonangeli schreef: > Uh, there must be a strange logical behind this > I installed in "program files" (Inno Setup) > It was really installed in "Programmi" > It reports "Program files" > If I create a file it must be in "Programmi", because it didnt create a file > if i use "Program files" > So, if I do standard installation of a program of mine, let say, in a > Japanese pc, I should now the Japanese name of "Program Files" in order to > create a file? |
|
#8
| |||
| |||
| > The problem is in not creating the file. Yes (even if i do not understand what is the advantage of calling the same directory in 2 different way) > What kind of user runs the app ? Admin of regular ? I didn't check (and I cannot do for the moment), but I thing it was Admin, because he is the only one user. -- Ciao Alessandro |
|
#9
| |||
| |||
| Alessandro, The advantage is that in dutch a folder name Afbeeldingen is better understood by the majority of Windows users than a foldername Picture. In order to have windows and it's apps working in the same way MS cannot vary the 'real' names of folders but they can alias the folders in own MS apps. John Alessandro Antonangeli schreef: >> The problem is in not creating the file. > Yes (even if i do not understand what is the advantage of calling the same > directory in 2 different way) >> What kind of user runs the app ? Admin of regular ? > I didn't check (and I cannot do for the moment), but I thing it was Admin, > because he is the only one user. |
|
#10
| |||
| |||
| On Wed, 03 Sep 2008 18:10:33 +0200, John Martens <adsl672100@tiscali.nl> wrote: Hello John, > >The advantage is that in dutch a folder name Afbeeldingen is better >understood by the majority of Windows users than a foldername Picture. Microsoft is full of these kind of "advantages". I wish they just give you the option to chose before starting with a new Windows or Office or whatever. It gives a lot of problems to programmers, those unanounced changes. Dozens of examples. The impossibility to read CHM files from the server overnight after a Windows update, which required all my clients to run a registry change for example,..I could make a long list... Why don't they call Windows Raampjes in Duch or Ventanas in Spanish and Bill Gates Wim Hekjes or Juan Puertas? That's easier to understand <g> Dick van Kooten |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.