PDA

View Full Version : Error with Move file action in Post -Install Section



nchidipo
08-05-2015, 07:26 AM
Hi All,

I have one sample installer(with IA2014), i have done the following steps in that sample installer.

In Install Section:
*******************
1. Added a folder to install some files ( around 15 files) instead of taking as speed folder. (Exp: $USER_INSTALL_DIR$/database, here database directory having number of file)
2. Created one empty directory ($USER_INSTALL_DIR$/$reporting, Here reporting dir is empty)

In Post-Install Section:
**************************
1. Moving file from $USER_INSTALL_DIR$/$database$/$sample.sql to $USER_INSTALL_DIR$/$reporting

Current Result for above scenario:
***************************************
My log file having ERROR statement like below,

Move File: Destination: C:\Program Files (x86)\My_Product\reporting\sample.sql
Status: ERROR
Additional Notes: ERROR - java.lang.NullPointerException

and file is moving to destination location. But, why this ERROR is coming.


Thanks,
Naresh Ch