Hi,
I am trying to 'Launch a File' (a custom action) that is not part of my installation.
On the target machine the file is located under (note this is windows format):
%NP_HOME%\thirdparty\apache\bin
The file name is configure.cmd
I don't know why but it does not launch the file.
I tried ALL of the following:
1) Adding working dir [%NP_HOME]\thirdparty\apache\bin - DIDN'T WORK
2) Adding working dir [%NP_HOME]thirdparty\apache\bin - DIDN'T WORK
3) Adding working dir C:\MY_NP_HOME\thirdparty\apache\bin - DIDN'T WORK
The only thing that worked was by creating a property CONF_DIR with value C:\MY_NP_HOME\thirdparty\apache\bin
I added that property to 'Files and Folders' -> New Folder-> Property Based
I added the file configure.cmd to the folder CONF_DIR
Then I created that path on my machine (where I develop the installer) and I copied the file configure.cmd to that location. (That file should be already deployed on the target machine, not as part of my installation)
Then I chose the 'Launch File' option and choose the file.
There are few issues with that solution:
1) It is working only when property value is: C:\MY_NP_HOME\thirdparty\apache\bin ([%NP_HOME]\thirdparty\apache\bin and [%NP_HOME]thirdparty\apache\bin didn't work) - I need it to be under system environment location
2) I think that my solution is too complicated, I am sure that advanced installer has direct and better solution to launch that file.
Thanks in advance.
Nir
FOLLOW US
Get the latest news in Application Packaging