Program looking to user profile instead of the application directory
Hey guys first post, great site by the way!
I am sure this is something obvious that i'm missing (though i am relatively inexperienced).
Using Wise Package Studio I have performed a capture on a small relatively non-complex program installation and have the following problem when installing with the captured MSI.
If the program is installed using the supplied setup it installs all the files to "C:\Program Files\%APP%\ and everything works fine, the application reads all the files from this location.
When I capture the installation, all the files are there and installed to the same location. After installing with the MSI, all the files are accounted for, yet when the program is run, it looks for the installed files in the users profile e.g C:\Documents and Settings\Administrator\*.*. So when the program runs I get the error "Runtime error: Cannot find file c:\Documents and Settings\Administrator\%file.xxx%.
If I copy the files to here manually (after installing with the MSI) it works fine.
I thought there may be a reg key or something that was captured while installing under administrator but there is nothing evident.
It all looks fine to me in the package, anyone have any ideas?
Thanks in advance
I am sure this is something obvious that i'm missing (though i am relatively inexperienced).
Using Wise Package Studio I have performed a capture on a small relatively non-complex program installation and have the following problem when installing with the captured MSI.
If the program is installed using the supplied setup it installs all the files to "C:\Program Files\%APP%\ and everything works fine, the application reads all the files from this location.
When I capture the installation, all the files are there and installed to the same location. After installing with the MSI, all the files are accounted for, yet when the program is run, it looks for the installed files in the users profile e.g C:\Documents and Settings\Administrator\*.*. So when the program runs I get the error "Runtime error: Cannot find file c:\Documents and Settings\Administrator\%file.xxx%.
If I copy the files to here manually (after installing with the MSI) it works fine.
I thought there may be a reg key or something that was captured while installing under administrator but there is nothing evident.
It all looks fine to me in the package, anyone have any ideas?
Thanks in advance
0 Comments
[ + ] Show comments
Answers (3)
Please log in to answer
Posted by:
gmorgan618
17 years ago
Posted by:
rakesh.kumar
17 years ago
Posted by:
houston
17 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.