WPS - install file to C:\ when INSTALLDIR is not C:\
I'm being REALLY thick here, I know, but what the hell...I'm in that "can't see the wood for the trees" position, plus it won't be the first time I've put my ignorance on public display.
INSTALLDIR is pointing to a folder beneath 'C:\Program Files'. Mr Stupid Vendor has decided that his Even More Stupid Application *HAS* to have a TXT file in the root of C:\ (no, it can't be moved elsewhere...) with write access. So, my problem is, short of changing INSTALLDIR to be C:\ [shudder] how do I get this file included in the install? In WPS, there's no way using the GUI (that I can work out) to choose C:\. I tried adding a file component 'manually' and editing the relevant tables directly but again there's no way to choose the root folder as the target directory. I resorted to a script but that fails with 'Permission denied', even though that same script run externally to the MSI executes flawlessly using the same credentials.
INSTALLDIR is pointing to a folder beneath 'C:\Program Files'. Mr Stupid Vendor has decided that his Even More Stupid Application *HAS* to have a TXT file in the root of C:\ (no, it can't be moved elsewhere...) with write access. So, my problem is, short of changing INSTALLDIR to be C:\ [shudder] how do I get this file included in the install? In WPS, there's no way using the GUI (that I can work out) to choose C:\. I tried adding a file component 'manually' and editing the relevant tables directly but again there's no way to choose the root folder as the target directory. I resorted to a script but that fails with 'Permission denied', even though that same script run externally to the MSI executes flawlessly using the same credentials.
0 Comments
[ + ] Show comments
Answers (4)
Please log in to answer
Posted by:
Coriolus
16 years ago
Posted by:
anonymous_9363
16 years ago
Posted by:
matrixtushar
16 years ago
Posted by:
matrixtushar
16 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.