This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Newbe Proplem with Magic folders?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 02, 2008
11:08 AM
Newbe Proplem with Magic folders?
In my install section I added $USER_MAGIC_FOLDER_1$ I then added an action to Set InstallAnywhere Variable - Single Variable $USER_MAGIC_FOLDER_1$ and I added the set value as $User_Install_DIR$$/$child_folder_1
After that I have an expand Archive ACTION to unzip files into $USER_MAGIC_FOLDER_1$
But now my project will not build? It is getting a error messasge:
Build failure.
Reason: null (java.lang.NullPointerException)
Suggestion/Details: If symptoms persist, contact Macrovision Developer Technical Support.
Bradley
After that I have an expand Archive ACTION to unzip files into $USER_MAGIC_FOLDER_1$
But now my project will not build? It is getting a error messasge:
Build failure.
Reason: null (java.lang.NullPointerException)
Suggestion/Details: If symptoms persist, contact Macrovision Developer Technical Support.
Bradley
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 02, 2008
03:19 PM
I have worked past the build fail. (I had an extra "Set InstallAnywhere Variable" that was empty.)
But I am still having no luck with expanding an archive to a user defined magic folder.
Variable Name: $USER_MAGIC_FOLDER_2$
Set Value to: $User_Install_DIR$$/$utils$/$tools
Selected Archive: $CCSBIN$\install_images\util\tools.zip
Destination path: $USER_MAGIC_FOLDER_2$
But the files are not getting installed.
Any suggestions?
But I am still having no luck with expanding an archive to a user defined magic folder.
Variable Name: $USER_MAGIC_FOLDER_2$
Set Value to: $User_Install_DIR$$/$utils$/$tools
Selected Archive: $CCSBIN$\install_images\util\tools.zip
Destination path: $USER_MAGIC_FOLDER_2$
But the files are not getting installed.
Any suggestions?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 02, 2008
03:44 PM
Does the run-time installation log file have any details for you? You can specify to generate this in Project > Info > Installation Log...
Robert
Robert
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 03, 2008
12:49 PM
RobertDickau wrote:
Does the run-time installation log file have any details for you? You can specify to generate this in Project > Info > Installation Log...
Robert
I have loging turned on. However there is no mention of the uncompress action. (Magic folders or other wise.)
Is there some point in the install where User defined Magic Folder have to be set up? I am doing this in the Install tab visual tree before the zip is installed but before the uncompress action.
Bradley
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 03, 2008
03:42 PM
RobertDickau wrote:
Does the run-time installation log file have any details for you? You can specify to generate this in Project > Info > Installation Log...
Robert
Robert on another magic folder note. I attempted to set up an environmental varriable called USER_MAGIC_FOLDER_2 = $USER_MAGIC_FOLDER_2$
But after the install the environmental var USER_MAGIC_FOLDER_2 = ""
Bradley
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 04, 2008
09:35 AM
1. Try with $USER_INSTALL_DIR$ not $User_Install_Dir$.
2. If you have $USER_MAGIC_FOLDER_2$ = $USER_MAGIC_FOLDER_2$$/$someSubFolder, then make sure you have the evaluate at runtime box checked.
If the problem persists, either post your project, or post a sample project that replicates the problem.
Try running in debug mode (if on Windows, hold the Ctrl button while during expansion). What does it say there?
2. If you have $USER_MAGIC_FOLDER_2$ = $USER_MAGIC_FOLDER_2$$/$someSubFolder, then make sure you have the evaluate at runtime box checked.
If the problem persists, either post your project, or post a sample project that replicates the problem.
Try running in debug mode (if on Windows, hold the Ctrl button while during expansion). What does it say there?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 06, 2008
01:07 PM
purcellk24 wrote:
1. Try with $USER_INSTALL_DIR$ not $User_Install_Dir$.
2. If you have $USER_MAGIC_FOLDER_2$ = $USER_MAGIC_FOLDER_2$$/$someSubFolder, then make sure you have the evaluate at runtime box checked.
If the problem persists, either post your project, or post a sample project that replicates the problem.
Try running in debug mode (if on Windows, hold the Ctrl button while during expansion). What does it say there?
That worked! Thanks!
Bradley
