Behavior does not match tutorial - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Daniel B. Davis
Posts: 2
Joined: Mon Jun 21, 2010 4:22 am

Behavior does not match tutorial

I am a newbie to all MS installation, but a senior in all else.
In creating a Java project, the tutorial says that a new .exe file is created after concluding the Create Java Products step. This does not occur. It is running Windows 7 on a 64-bit computer; Advanced installer is operating in 32-bit mode, having been installed in the 32-bit directory. Any suggestions? Thank you.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Behavior does not match tutorial

Hi,

An EXE file should be automatically added in "Application Folder" from "Files and Folders" page. If it's not, can you please send us the AIP (project) file you are using to support at advancedinstaller dot com so we can investigate it?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Daniel B. Davis
Posts: 2
Joined: Mon Jun 21, 2010 4:22 am

Re: Behavior does not match tutorial

I did finally succeed in obtaining a .exe install file (which I asked for), and the file did install the application, which then functioned ok. As yet I DID NOT succeed in:

1. Ever getting a .exe file to appear before hitting the 'build' button.
2. Installing any shortcuts, although I requested a shortcut on the desktop, on the start menu, and in the application shortcut folder.
3. No prompt appeared requesting permission to place shortcuts, as suggested by the documentation.
4. No method seemed available to place a shortcut on the Quick-Launch toolbar.

All shortcuts needed to make the installation function were placed there manually, by me, after installation. This failure makes the Advanced Installer unusable except for advanced users.

It is possible that the .exe problem and the shortcut problem are related. To be very clear: the .exe file referred to in the text before the 1. is an MSI file converted to a .exe file containing the installation. Within that, there is another .exe file, which appeared after hitting the 'build' button. I believe that would be the missing .exe from within 1. I don't know what that is for. I furnished a .cmd file as part of the application files for issuing the "start java -jar myapp.jar" command which starts the application. (javaw gives errors.)

The procedure followed for each shortcut: a) highlight the file which is to be the shortcut source file, b) click on new shortcut c) in the window which appears, fill in a name, and a target. The target is that system file or virtual file to receive the shortcut.

Any help to make this function is greatly appreciated.

Thanks
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Behavior does not match tutorial

Hi,
Ever getting a .exe file to appear before hitting the 'build' button.
I think you misunderstood the tutorial. When creating a Java product the Java launcher is added automatically in the "Files and Folders" page of your project. This is something inside your project, not a file on disk. Advanced Installer generates files on disk only when building a project.
Installing any shortcuts, although I requested a shortcut on the desktop, on the start menu, and in the application shortcut folder.
You can read about creating shortcuts in the Shortcuts article from our user guide.
No prompt appeared requesting permission to place shortcuts, as suggested by the documentation.
I'm not sure I know the prompt you are referring to. Can you please give me more details about this?
No method seemed available to place a shortcut on the Quick-Launch toolbar.
You can create a quick-launch shortcut by using the shortcuts wizard.
I furnished a .cmd file as part of the application files for issuing the "start java -jar myapp.jar" command which starts the application. (javaw gives errors.)
This is done by our Java launcher, the EXE which is added automatically to your project when creating a Java product. You don't need a CMD file.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”