cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

annoying microsoft thing

has anyone else had a problem whereby they change the path for %programfilesfolder% etc and then get a wierd mishmash of folder locations? explanation:

original path = C:\programme
new path = D:\Apps
actually installing to = C:\Apps

this is not all programs, only for instance ie6, mdac components. i know this is nothing to do with adminstudio, but i am curious if it is just me.
(2) Replies
You should be able to find out by generating the verbose log file for programs in question. See to what the %programfilesfolder% resolves to and why. See that the Directory table in Msi is referencing your Programs files folder and not the C:\apps. Check if [ProgramFilesFolder] is actually C:\Program Files and not some thing else!
this is under NT4.

it requires 3 variables for the different installers.

programfilesfolder
programfilesdir
programfilespath

(thankyou company standardisation....)

all three of these are pointing to D:\Apps from a command prompt. however if i run a quick autoit script and copy a file to the %programfilesfolder% it goes to c:\apps under the windows env. it is correctly set in the registry. the set command under dos provides the expected results. but if i print the variable in a 32bit env it is always c:\apps.