On a Mac, sometimes the installer window "pops under" other windows currently already open on the desktop. Is it possible to make the installer window a "pre-emptive" window so that it's on the top of the window stack?
Is it possible to control the window focus of the installer?
AutoUpdate installer can't overwrite itself
Hi, I'm sure I'm missing something, but I get an error when updating using the autoupdate installer: Error copying file from packed archive. It's complaining about being unable to overwrite the autoupdate installer, which makes sense since it's in use.
I followed all the instructions for creating the autoupdate installer and adding it to an existing project. Can you tell me what I'm doing wrong? Should I be omitting the autoupdate installer in my project update? Thanks!
Don't allow uninstall if application is running
How can I prevent uninstall if application is running?
How do unpack a directory using BitRock
I have to unpack a directory before start the installation process and i used the below code but got error as "cannot find a directory to unpack C:\users\Public\desktop\JarFile".
The below piece of code i used. <project> <shortname>sample</shortname> <fullname>Sample Project</fullname> <version>1.0</version> <componentlist> <component> <name>default</name> <description>Default Component</description> <canbeedited>1</canbeedited> <selected>1</selected> <show>1</show> <folderlist> <folder> <description>Folder 1</description> <destination>${installdir}/newfolder</destination> <name>folder1</name> <platforms>all</platforms> <distributionfilelist> <distributiondirectory> <origin>C:UsersPublicDesktopAll Jar Files_Final</origin> </distributiondirectory> </distributionfilelist> </folder> <folder> <description>Program Files</description> <destination>${installdir}</destination> <name>programfiles</name> <platforms>all</platforms> <shortcutlist> <shortcut> <comment>Uninstall</comment> <exec>${installdir}/${uninstallerName}</exec> <icon></icon> <name>Uninstall ${product_fullname}</name> <path>${installdir}</path> <platforms>all</platforms> <runasadmin>0</runasadmin> <runinterminal>0</runinterminal> <windowsexec>${installdir}/${uninstallerName}.exe</windowsexec> <windowsexecargs></windowsexecargs> <windowsicon></windowsicon> <windowspath>${installdir}</windowspath> </shortcut> </shortcutlist> </folder> <folder> <description>Program Files</description> <destination>${installdir}</destination> <name>programfileslinux</name> <platforms>linux</platforms> </folder> <folder> <description>Program Files</description> <destination>${installdir}</destination> <name>programfileswindows</name> <platforms>windows</platforms> </folder> <folder> <description>Program Files</description> <destination>${installdir}</destination> <name>programfilesosx</name> <platforms>osx</platforms> </folder> </folderlist> <startmenushortcutlist> <startmenushortcut> <comment>Uninstall ${product_fullname}</comment> <name>Uninstall ${product_fullname}</name> <runasadmin>0</runasadmin> <runinterminal>0</runinterminal> <windowsexec>${installdir}/${uninstallerName}.exe</windowsexec> <windowsexecargs></windowsexecargs> <windowsicon></windowsicon> <windowspath>${installdir}/</windowspath> </startmenushortcut> </startmenushortcutlist> </component> </componentlist> <enablerollback>1</enablerollback> <enabletimestamp>1</enabletimestamp> <parameterlist> <directoryparameter> <name>installdir</name> <description>Installer.Parameter.installdir.description</description> <explanation>Installer.Parameter.installdir.explanation</explanation> <value></value> <default>${platform_install_prefix}/${product_shortname}-${product_version}</default> <allowemptyvalue>0</allowemptyvalue> <ask>yes</ask> <clioptionname>prefix</clioptionname> <mustbewritable>yes</mustbewritable> <mustexist>0</mustexist> <width>40</width> <postshowpageactionlist> <unpackdirectory> <component>default</component> <destination>${installdir}</destination> <folder>folder1</folder> <origin>C:UsersPublicDesktopAll Jar Files_Final</origin> </unpackdirectory> </postshowpageactionlist> </directoryparameter> </parameterlist> </project>
Please help to solve this issue
downloadable component - post install step (create luncher) doesn't work
I'm trying to make the java bundle component as a downloadable component. I have these configurations: <downloadable>1</downloadable> <url>http://localhost/java-1.0-windows.pak</url>
While installing, this file (java-1.0-windows.pak)is being downloaded and installed, but I get this errer: Problem running post-install step. Installation may not complete correctly. Problem creating launchers in c:\Program Files(x86)\myfolder-1.0
I have a java (jar) component of my own of course that needs to be installed, but it can't install the exe file for my component.
Any ideas?
How to copy install/uninstall log file from temp folder to desired folder?
I have added following tags in my installer xml -
<installationlogfile>${installdir}/install.log</installationlogfile> <uninstallationlogfile>${installdir}/uninstall.log</uninstallationlogfile>It copies installation logs if installer manages to reach to post-install steps otherwise not. I need to write log file even if installer exits from pre-install step. I have checked that installer is creating log file in system's temp directory in all cases but I don't know how to copy this file to my desired location as the log file name is random in temp directory. Please advise.
Preserve previous logs on new installation/uninstallation.
On new installation/uninstallation, I want to preserve the previous log file up to the count of 10 or so. Do we have any inbuilt tag in InstallBuilder to achieve the same? If we need to do it ourselves then please suggest the recommended way.
Checkbox with "Launch application" in last installation page
how can I add a checkbox with "Launch application" text in last installation page (and launch my application if checkbox is checked).
Make a Installable Java Application along with required Software
Hi
I have developed the Java application on the Version JDK1.8 with the MYSQL Database .
I want to know the followings
1.How to create the installable file.
2.After launched the launche it will check the required software available or not.if its available no problem.otherwise there is an option to install the required softwares.
3.Also i need to activate the software at the first time installation and also renewal by every year.
Can any one please guide the above things.
Thank you Anand.
InigetFile
Hello, i'm trying to get some value in a parameter variable, but nothing happens
in Post-installation Actions
<iniFileGet>
<file>${installdir}/ConfigPrat.ini</file>
<key>NumFSE</key>
<section>FSE</section>
<variable>${numfse1}</variable>
<ruleList>
<fileExists>
<path>${installdir}/ConfigPrat.ini</path>
</fileExists>
</ruleList>
</iniFileGet>
and my Parameter numfse1
<stringParameter>
<name>numfse1</name>
<title>Dernier n° FSE</title>
<description>numéro FSE à reporter</description>
<explanation></explanation>
<value></value>
<default></default>
<allowEmptyValue>1</allowEmptyValue>
<width>40</width>
</stringParameter>
is there anaything i missed ?
Ordering of pages when using parameterGroup doesn't seem correct
Having read the docs on controlling flow of pages quite a few times, I'm still struggling to control the flow around a parameter group.
I've grouped 'installdir' parameter with my parameter 'userdir' as both need filling in. Since then I've not been able to get the ordering correct. What I want is:
welcome -> license -> group/local install? -> directories -> component selection -> readytoinstall
The ordering I get is:
welcome -> license -> component selection -> group/local install? -> directories -> readytoinstall
The (trimmed) XML is:
<project>
<parameterList>
<choiceParameter>
<title>Shared or Local Install</title>
<default>global</default>
<insertBefore>installdirs</insertBefore>
<displayType>radiobuttons</displayType>
<name>installtype</name>
<optionList>
<option>
<text>All Users</text>
<description>Global install for all users</description>
<value>global</value>
</option>
<option>
<text>Just this user</text>
<description>Local install for just this user (${system_username})</description>
<value>local</value>
</option>
</optionList>
</choiceParameter>
<parameterGroup>
<name>installdirs</name>
<insertBefore>components</insertBefore>
<insertAfter>installtype</insertAfter>
<title>Install Directories</title>
<parameterList>
<directoryParameter>
<description>Base Install Directory</description>
<name>installdir</name>
</directoryParameter>
<directoryParameter>
<description>User files Install Directory</description>
<name>userdir</name>
</directoryParameter>
</parameterList>
</parameterGroup>
</project>
I've tried putting the actual variable (installdir) in installtype -> insertBefore rather than the parameterGroup name (installdirs), but it makes no difference.
There are plenty of warnings over using next_page etc so I don't really want to venture there if I can help it?
Weird Maessage
Hi,
One of our customer installed one of our packages and during the installation an error occurred. The error message contained weird message/word. We can definitely say that this message/word are not coming from our code. part of the message includes "Whoa!" word. Attached the screen shot with the error message which sent by our customer. Can you please tell us how can we avoid this message and just get a regular message.
Thanks, Ronen

osx and win pak files different even though the contents are the same
My installer has 10 downloadable components. The first one contains some different files depending on which OS the installer is being published for, so i expect the OSX pak file for the first component to be different than the WIN pak file for the first component. The problem is that the other 9 components are identical for both OSX and WIN builds, but component 8 publishes with an OSX pak file of different size than the WIN pak file. Why would this be happening?
Setting default directory value to windows drive T: while on unix
If the client runs our installer on a unix machine we also require them to input a windows drive letter (for later use). However, when the installer asks the user for a directory the default value displayed has a forward slash in front of it, like so: /T:
How can I remove this forward slash?
[Component]
[Folders]
[Program Files]<folder>
<description>Program Files</description>
<destination>${localRootWin.dos}</destination>
<name>programfileswindows</name>
<platforms>windows</platforms>
</folder>
[Global project parameter]
<directoryParameter>
<name>localRootWin</name>
<title>Windows install location</title>
<description>Flix will be installed to this locations on Windows</description>
<explanation></explanation>
<value>T:</value>
<default>T:</default>
<allowEmptyValue>0</allowEmptyValue>
<cliOptionName>prefix</cliOptionName>
<mustBeWritable>1</mustBeWritable>
<mustExist>0</mustExist>
<width>30</width>
</directoryParameter>
Trouble getting ip address
I am running install builder version 9. I am using the inbuilt machine_ipadder variable in installbuilder. In some machines I am getting the proper address. ie 192.168 ... but other machines give me 127.0.0.1. I have tried this on Fedora,Ubuntu, Centos and it is a mixed bag of nuts. Sometimes it works, sometimes it does not. Has anyone else experienced this?
Exit process launches even if test isn't launch
In my preInstallationAction i'm looking for processes running, and if found i ask if i have to stop the processes for the user.
If yes, i stop otherwise i quit the installer. This is running fine when i have one at least process found in the system, but when no one is found the installer quit. The second part of the test should be skipped but don't seems to
here's my code
</showText>
<showQuestion>
<default>no</default>
<text>Plusieurs processus en cours ont été détécté sur votre système, qui pourraient entraver la bonne marche de cet installeur.
Voulez vous que l'installeur les arrêtent ? </text>
<variable>test</variable>
<ruleList>
<ruleGroup>
<ruleEvaluationLogic>or</ruleEvaluationLogic>
<ruleList>
<processTest>
<logic>is_running</logic>
<name>java.exe</name>
</processTest>
<processTest>
<logic>is_running</logic>
<name>javaw.exe</name>
</processTest>
<processTest>
<logic>is_running</logic>
<name>Pyxvital.exe</name>
</processTest>
<processTest>
<logic>is_running</logic>
<name>galsvw32.exe</name>
</processTest>
</ruleList>
</ruleGroup>
</ruleList>
</showQuestion>
<if>
<breakpoint>1</breakpoint>
<actionList>
<showProgressDialog>
<title>Arret des processus en cours</title>
<actionList>
<kill>
<name>Pyxvital.exe</name>
<ruleList>
<processTest>
<logic>is_running</logic>
<name>Pyxvital.exe</name>
</processTest>
</ruleList>
</kill>
<kill>
<name>java.exe</name>
<ruleList>
<processTest>
<logic>is_running</logic>
<name>java.exe</name>
</processTest>
</ruleList>
</kill>
<kill>
<name>javaw..exe</name>
<ruleList>
<processTest>
<logic>is_running</logic>
<name>javaw.exe</name>
</processTest>
</ruleList>
</kill>
<kill>
<name>galsvw32.exe</name>
<ruleList>
<processTest>
<logic>is_running</logic>
<name>galsvw32.exe</name>
</processTest>
</ruleList>
</kill>
</actionList>
</showProgressDialog>
</actionList>
<conditionRuleList>
<isTrue>
<value>${test}</value>
</isTrue>
</conditionRuleList>
<elseActionList>
<exit>
<explanation>Arret installation</explanation>
<ruleList>
<isFalse>
<value>${test}</value>
</isFalse>
</ruleList>
</exit>
</elseActionList>
</if>
What is wrong with this ?
Can we show different left side images on Welcome screen and Installation Finish screen.
I have a requirement to show one image on left side of installer at welcome screen and second image on left side of installer at Installation Finish screen. If this is possible, please suggest the way.
Facing issue with size of images.
Our client is facing an issue on Windows 8.1 that images shrank from its original size. But at our end, it is visible as expected on Windows 7 and 8. This image is left side image which we used in bigger size so that it can cover the entire installer window. Please suggest that what could be the reason due to which image is visible in smaller size on client machine. We have tried different resolutions on Windows-8 at our end but issue is not reproducible.
Shrank image is given below -
passing variable value to post install script as an argument
how can i store user input in variable and pass that variable value to post install script as an argument?
Set ini file MacOSX
I have some trouble, setting an ini file, in macosx
i don't know if it's a file format issue, but when i look for some sections with accents, installbuilder transforms them in another one
example: ë becomes ê