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!

satukont
Posts: 2
Joined: Thu Jul 15, 2010 11:01 am

Easier handling of text files

Hi!

I'm evaluation Advanced installer for Java application installation.

We need a lot of properties-file modifying, and you do not have ready made actions for search and replace of stings in text files.
That would be a great improvement.

Also I followed you instructions on how to add a jre bundle (because that is what we have been using for years now).
For some reason the user interface gives me an error message:
Please specify a valid JRE folder.

This message is not very informative, since the JRE folder contains Java Sun 1.6_17 version of Java.
What are the requirements of the JRE folder?

BR
Satu Kontio
satukont
Posts: 2
Joined: Thu Jul 15, 2010 11:01 am

Re: Easier handling of text files

Hi!

I found out the reason for the problem with JRE bundles: our virus scanner had for some reason removed all the .exe files under the java-directory while I unzipped the jre-folder to the machine where I installed Advanced installer.

So the information given by the user interface was correct, since java.exe could not be found under jre directory.
The error message could be more informational though.

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

Re: Easier handling of text files

Hi Satu,
We need a lot of properties-file modifying, and you do not have ready made actions for search and replace of stings in text files.
That would be a great improvement.
Most properties and configuration files are XML or INI. In this case you can modify them by using the XML editor and INI editor.
The error message could be more informational though.
We will try to improve the message in a future version of Advanced Installer. Thank you for your suggestion.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
AnneTheAgile
Posts: 61
Joined: Wed Jun 08, 2011 9:53 pm

Re: Easier handling of text files; Hello world in log file; N00b

I am also trying to write an installer that is pretty simple but needs alot of file editing.
My immediate goal is to create an installer that prints some text aka Hello world, into the log file. It seems that comes under the launch batch file tutorial if I understand correctly.

I found several links;
http://www.advancedinstaller.com/user-g ... ialog.html
http://www.advancedinstaller.com/user-g ... oject.html
http://www.advancedinstaller.com/user-g ... ature.html

I had started a project as simple and then changed it to be professional (I think that's the word? sorry, not in front of me). Then I tried to do the tutorial;
http://www.advancedinstaller.com/user-g ... eters.html
because of the advice here;
http://www.advancedinstaller.com/user-g ... -file.html

I can not do this step;
From the context menu choose Configurable->Source while the custom action is still selected.

Is that because my project setting is goofed up? I don't understand the idea of a merge module.
thank you!!
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Easier handling of text files

Hi,

You cannot find the option because you are not a in a MSM (merge module) project. You are in a project that type has as out an MSI file.

More details about a merge module you can find in this article. A merge module can never be used as a standalone package, it most always
be included in a MSI at build time.

From what I see you want to use the custom actions, I don't see the need for a merge module.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
AnneTheAgile
Posts: 61
Joined: Wed Jun 08, 2011 9:53 pm

Re: Easier handling of text files

Thank you Bogdan! I will retry.
Btw is it better etiquette to reply and say thank you or better etiquette to leave your post at the end so we see all threads are answered by you?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Easier handling of text files

Hi,

Either way, in both cases the result is the same, i.e. the thread is considered closed.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Feature Requests”