11-23-2010 04:03 AM
Hi all,
I developed a software used "inhouse" by most of my colleagues. This software is changed continuously.
In the past I had to inform everyone that there's a new release available.
Thus I developed a "quick and dirty" autoupdate mechanism. (See attachments)
The application looks for a file located on our server, which contains the version number of the most current release.
If the version number of the installed software and the version number in this file differ, the Installer for the new release is executed.
In the Installer settings I run the installed software after installation finished.
So that the user doesn't notice there was an update and the software starts as allways.
The installer is started with commandline options to install in silent mode with surpressed License Notification und supressed restart.
The start of the installed software after installation works if I start setup.exe in "normal" manner (doubleclick setup.exe)
BUT the software DOES NOT start after installation when installed in silent mode. (Commandline prompt: setup.exe /q /AcceptLicenses yes /r:n )
(Tested with XP, Vista, 7)
Does anyone know how to get this working ?
Thanks in advance, best regards,
Balze
11-23-2010 10:19 AM
Hi, Rainer,
@Balze wrote:
The start of the installed software after installation works if I start setup.exe in "normal" manner (doubleclick setup.exe)
BUT the software DOES NOT start after installation when installed in silent mode. (Commandline prompt: setup.exe /q /AcceptLicenses yes /r:n )
with /qb or /qf switches the same result?
Andrey.
11-24-2010 12:21 AM
Hi Andrey,
neither /qb nor /qf works 😞
Calling from command prompt without the /q switch (/q | /qb | /qf) works like expected. But then there is a dialog I want to surpress.
THX !
Best regards,
Rainer
P.S.: How are you and your family ? 🙂
11-24-2010 01:00 AM
I logged the Installation process using "/log filename.log"
I installed from command prompt with /q switch and without.
The logfiles differ a lot. But the most important thing in my opinion is, that this:
MetaInstaller: --- Starting launching end executes: Wed Nov 24 07:35:22 2010 ---
MetaInstaller: CustomExecute: Action Was_geht_ab.exe was successfully launched. CmdLineFormatted: ""C:\Programme\was_geht_ab\Was_geht_ab.exe"".
can only be found in the logfile generated without the /q switch.
Any suggestions are welcome.
Best regards,
Balze
11-24-2010 01:43 AM
@Balze wrote:
Hi Andrey,
neither /qb nor /qf works 😞
Well, just checked - it seems to be works as expected in LabVIEW 2010 and doesn't work with 8.5.1 as you have described.
There are some bugs in installer's builder was fixed between versions 8.5 and 10.0.
What you can do - upgrade to latest LabVIEW version or try to fix installer manually. I guess trouble present in \bin\dp\install.msi file. You can check what inside of msi with Orcas utility provided by Microsoft.
Hope it helps,
with best regards,
Andrey.
PS
Whole family a little bit ill due to relative cold weather... 😞
11-24-2010 10:06 AM
Andrey,
thank you for your suggestions.
I wasn't able to find the responsible difference yet.
(WinMerge shows too many differences in the install.msi file. )
Orca is a nice tool, Thanks for this hint.
But there are too many properties inside the msi file too find the responsible manually.
I wasn't able to find an entry for this odd behavior in the bug-fixes-lists for 8.6, 2009, 2009SP1, and 2010.
I would like to avoid that all my colleagues have to migrate to LV2010. (One Labview Runtime is enough 🙂 )
Best regrads,
Balze
P.S.: All of you get well soon ! Greetings to your wife !