LV 8.5.1 Installer "run after installation" not executed in silent mode ; Autoupdate

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

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...

Similar Messages

  • SWT Runs in Eclipse - Not after export (NOT executable JAR)

    I have been working on my first SWT application. It will run when using the Eclipse run command. However, when I export the project to a JAR file I can't get the module to run. I am NOT trying to run this as an executable JAR. I will eventually get to that, but for the moment I just want to be able to execute the module via the standard Java command.
    When I try to run the module via:
    java com.myproj.visual.SearchDisplay I get the following result:
    NoClassDefFoundError:  org/eclipse/swt/widgets/LayoutI have tried every variation of running this that I can find. I have the swt.jar as well as the jar containing my project files in the class path. I have extracted the DLL files from swt.jar and put them in the directory from which I am executing the module, i.e. I change directory to there before executing the Java command. I tried including the following in the Java command:
    -Djava.library.path=c:\projects\java\myproj\swt-win32-3139.dllI have also tried including the classpath at the Java command:
    -classpath .;c:\projects\java\myproj\swt.jar;c:\projects\java\myproj\mmstat.jarSo far nothing has helped. I get the same error regardless what I do. Yet this runs fine inside Eclipse.
    In my Eclipse environment I do have swt.jar imported. And have org.eclipse.swt in my Require Projects tab on the Build Path. I also have swt.jar and Standard Widget Toolkit identified in the Libraries tab of the Build Path. And on the Order and Export tab I have tried including all three (Standard Widget Toolkit, swt.jar and org.eclipse.swt) and then each one separately and then in combinations.
    It is obvious that I am not exporting correctly or I don't have the correct configuration at runtime. But I can not figure this out. I have been reading forums for days now. They mostly are concerned with excecutable JARs which is not yet my problem. I first need to get this working before worrying about packaging an executable.
    Can someone please help suggest some solutions for me?
    It would be GREATLY appreciated.
    Glenn Puckett
    Lexington, KY

    Making a jar file from SWT project, in Eclipse:
    1. Create one manifest file in project with following contents:
         Manifest-Version: 1.0
         Class-path: swt.jar
         Main-class: package.MainClass
    2. Export jar file with this manifest file
    a) Right-click on project
    b) Selection Export
    c) Select Java and Jar file
    d) Select the project, classpath and file project
    e) In jar file textbox enter the name for jar file and select options: "Exports generated class files and resources" and "Compress the content of the jar file"
    f) Press Next button
    g) Press Next button
    h) Select "Use existing manifest from workspace" and select the manifest file which you has created
    i) Press Finish button     
    3. Put togheter the jar file and swt.jar
    4. Run jar file

  • How to run Oracle data pump export in silent mode

    when i run the expdp command for data export, then i get the following information message,
    Export: Release 10.2.0.1.0 - 64bit Production on Wednesday, 26 March, 2008 15:33:49
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    Starting "TEST"."SYS_EXPORT_TRANSPORTABLE_01": test/********@mqa dumpfile=data.dmp directory=export TRANSPORT_TABLESPACES = client_tables,client_indexes logfile=export.log
    Processing object type TRANSPORTABLE_EXPORT/PLUGTS_BLK
    Processing object type TRANSPORTABLE_EXPORT/POST_INSTANCE/PLUGTS_BLK
    Master table "TEST"."SYS_EXPORT_TRANSPORTABLE_01" successfully loaded/unloaded
    Dump file set for TEST.SYS_EXPORT_TRANSPORTABLE_01 is:
    /export/home/oracle/TQAImport/DataFiles/data.dmp
    Job "TEST"."SYS_EXPORT_TRANSPORTABLE_01" successfully completed at 15:34:53
    Can i avoid these messages and run it in silent mode ?

    I am not really sure about this but try using LOGFILE option.I cant recall that I have used than what happens,whether the output comes to the logfile only or on both the places but in addition to Paul's solution which are more accurate,you can give this also a try.
    http://download-west.oracle.com/docs/cd/B12037_01/server.101/b10825/dp_export.htm#sthref133
    Aman....

  • Custom Trigger after Delete not  executing

    I have a custom trigger that I want to execute after a user performs a DELETE Transaction. Here is the PHP code:
    $DB_SERVER = "somewhere.com";
    // username:
    $DB_USER = "me";
    // password:
    $DB_PASS = "password";
    // database name:
    $DB_NAME = "training";
    $sessid=$_GET['sessid'];
    $userid=$_GET['id'];
    mysql_connect($DB_SERVER, $DB_USER, $DB_PASS);
        mysql_select_db($DB_NAME);
    $sql = "DELETE FROM tms_registered where eid ='$sessid' AND uid = '$userid'";
    $sql2 = "SELECT COUNT(*) AS max FROM tms_registered WHERE eid ='$sessid'";
    $result = mysql_query( $sql2 )
            or die ( 'Unable to execute query.' );
    $max_value = mysql_result($result, $i, "max");
    $sql3 = "UPDATE tms SET cur_reg='$max_value' WHERE tmid='$sessid'";
    I have also written the trigger by declaring the variables at the top of the PHP script page and then use 'global': at the begining of the trigger:
    global $DB_SERVER, $DB_USER, $DB_PASS, $DB_NAME, $sessid, $userid;
    The trigger does not execute after the DELETE transaction. What am I doing wrong?
    TIA

    Dear Karthi & Santosh,
    Thanks for your prompt replies.
    I am already maintaining following detail in OPJF
    01     5     S     1     Production     4     Released (general)
    Dear Santosh,
    I have changed the Syst.Sts from REL to CNF and save it. Deleted the trigger point assignment and reassign it. Create new Production Order. But Now
    Trigger is not executing at the time of order creation as well as Order confirmation (CO11N).
    There are following functions available in the system:
    Release succeeding operations
    Release up to stop indicator
    Release preceeding operations
    Create order with reference
    Insert reference operation set
    Start workflow task
    and i am using "Create order with reference" is it OK, or I have to use another function.
    Please suggest.
    With thanks,
    DSC

  • Report Generation Toolkit Excel Vi's do not run after creating an executable​. What am I missing?

    I have labview 8.5 and Report Generation Toolkit version 1.1.2.   My vi works fine during development. When I make an executable or an installer the excel vi's do not work. I have seen this question posted before but it has always been for earlier revisions and the answers do not seem to apply with 8.5 and 1.1.2. 

    Hello ajh,
    You will have to include Dynamic VIs in the executable you build. The following link has more information:
    http://digital.ni.com/public.nsf/allkb/C38CE3F3054​2D65B86256F0E00740DD8
    Prashant.

  • MacBook Pro won't start after upgrade, not even in recovery mode

    So here is what happened:
    Yesterday, the app store icon told me that one update was not installed yet,because I need to restart the computer first (hard for me to reconstruct now, because I didn't really read it carefully, which I should have done, but Apple"just works™", so hey, why should I ). So I restarted the computer. This is where things went very wrong. Eventually during reboot, text appeared on the grey Apple logo screen, it looked like verbose boot mode, but overlaid on the "regular" grey boot screen with the  logo. Before I could read, what was happening, I got a kernel panic with the "hold down the power button to restart".
    Holding down the power button took me to the login/file vault unlock screen (I have my disk encrypted). Unfortunately neither keyboard nor trackpad worked. So I held down the power button again, which brought me back to the login/file vault unlock screen.
    At this point I noticed that it said in the lower part of the screen that, in case I had problems to enter my login information, I should press the power button for a long time and then again for a short time to get into recovery mode (this is all from my memory, I might not recall it exactly as it happened).
    This made things kind of worse, it showed me the Apple logo with the progress bar, which advanced to about a third or a quarter, then the progress stopped and I ended up on a grey screen with a grey crossed circle in the center (looks kind of like an european no parking sign).
    I tried booting into recovery mode by holding down the R key. This brings me to the progress bar and the subsequent grey screen.
    I tried to boot into my time machine, by holding down the option key. This gets me to the boot volume selection, I can choose my time machine volume (external FW800 drive), but it does not use this volume to boot (I can hear that the external disk is not spinning). Instead I get the above mentioned behavior (progress bar, grey screen).
    I tried to boot into target disk mode by holding down the T key. This only works, when I connect an external USB keyboard. This way I could use another computer to recover my important files (which is good). I could also peek at the logs. It seems as if the failed boot attempts do not produce logs. But I have the system log from the "restart to install update" process. The last few seconds or so I get a lot of these messages:
    Feb  3 14:33:51 Larss-MacBook-Pro kernel[0]: Refusing new kext com.apple.kpi.libkern, v14.1: already have loaded v14.0.
    I use a Macbook Pro 13" early 2011. I don't know the processor speed, because I cannot boot it. I guess it has 8 GB Ram (pretty sure I maxed it out).
    I have an SSD installed (I replaced the original HD with a 1GB Samsung SSD). There is another post here, which sounds similar, but I definitely did not use "Trim enabler" or similar third party software.
    I use Yosemite, I think I was pretty much up to date, I suspect the reboot was for the 10.10.2 installation, but I am not sure (I simply didn't look when I hit that reboot to install button).
    Yosemite on SSD wont boot and wont go in safe or recovery mode
    Anyone any ideas? Any help is appreciated!

    So I just went through the install.log.
    First of all, there I found out that I have a MacBook Pro (13-inch, Mid 2010):
    Feb  3 14:31:12 larsmbpro.domain.com suhelperd[336]: GetModel: model = MacBookPro; major rev = 7; minor rev = 1
    I think it was indeed the upgrade to Yosemite 10.10.2:
    Feb  3 14:31:18 larsmbpro.domain.com softwareupdated[334]: SoftwareUpdate: Added foreground transaction [0x1] for OSXUpd10.10.2-10.10.2
    but there was also a firmware update included:
    Feb  3 14:31:21 larsmbpro.domain.com installd[363]: PackageKit: packages=(
         "PKLeopardPackage <file:///Library/Updates/031-17157/OSXUpd10.10.2Patch.pkg>",
         "PKLeopardPackage <file:///Library/Updates/031-17157/FirmwareUpdate.pkg>"
    The last messages in this log are:
    Feb  3 14:33:07 larsmbpro.domain.com Software Update.app[2747]: Running /sbin/reboot
    Feb  3 14:33:07 larsmbpro.domain.com softwareupdated[334]: Removing client SUUpdateServiceClient pid=2747, uid=0, installAuth=YES rights=(system.install.apple-software, system.install.apple-software.standard-user, system.install.software, com.apple.SoftwareUpdate.modify-settings), transactions=1 (/System/Library/CoreServices/Software Update.app/Contents/MacOS/Software Update)
    According to the system.log, the shutdown happened 14:33:08. The boot time is 14:33:24, no log entries between 14:33:08 and that time. 16 seconds seems awfully long for a reboot:
    Feb  3 14:33:08 larsmbpro kernel[0]: Kernel requests now disabled.
    Feb  3 14:33:24 localhost bootlog[0]: BOOT_TIME 1422970404 0
    Feb  3 14:33:46 localhost syslogd[19]: Configuration Notice:
      ASL Module "com.apple.AccountPolicyHelper" claims selected messages.
      Those messages may not appear in standard system log files or in the ASL database.

  • Running Shell Commands (not Executable) in Unix from Java

    What are my options to run shell commands from Java?
    My goal is to change my existing shell environment variables to some new ones provided by .anotherProfile.
    Using an executable from Java is not an option because it does not work i.e. ( exec(". /home/.profile") ) brings up errors.
    Someone has suggested that I start a child shell with that profile and work from there, but I'm unfamiliar with that sort of syntax and programming in general.
    Any good help equals duke dollars :)

    Well there are some possibilities. In the original thread you mentioned that you wanted the shell script to be executed to change some enviroment parameters of the shell the JVM is executing in.
    If so, and you are able to rewrite the profile so you can parse it manually. Then you can change some environment setting by writing the JNI wrappers for the getenv and setenv system calls. (Check your man pages)
    That will change the environment. I am just wondering what good it will do for you? What's use of sourcing the profile in a JVM?

  • Bash script run via cron not executing MYSQL command

    I have a bash script which is run from a cron,
    It is executing as I have it write to a log file which it does correctly.
    I am wanting the bash script to restore a mysqldump file.
    When I run the bash script manually the dump file gets loaded fine. But when I run it through the cron the mysql command appears to be ignored.
    The mysqldump file is 54MB and I have checked to make sure that MYSQL is included in the global users path in /etc/profile
    Does anyone know why this maybe??
    Here is the bash file
    #!/bin/bash
    date >> /home/user/crons/crons.log
    echo "Started loadbackup" >> /home/user/crons/crons.log
    cd /home/user
    dbuser=root
    dbpass=password
    dbname=databasename
    filename=backup
    mysql -hlocalhost -u"$dbuser" -p"$dbpass" "$dbname" < " >> /home/user/crons/crons.log
    My crontab looks like
    02 17 * * * /home/user/crons/loadbackup.sh
    Many thanks
    Richard

    Hi Richard,
    Have you tried redirecting the script output in the cron to see if an error is being reported?
    I.e.
    02 17 * * * /home/user/crons/loadbackup.sh > /tmp/loadbackup.log 2>&1

  • HP Pavilion 500 series running Windows 8 not returning from sleep mode

    I've just bought a Pavilion desktop 500 series running Windows 8.
    When the pc goes into sleep mode, I wiggle the mouse (as usual) to re-awaken it. The screen returns, and I can see my screen saver (a rotating series of photos), and the icons on the taskbar for the items that I have open, but all the icons on my desktop have disappeared and, whilst I can move the mouse pointer around, no amount of clicking will bring anything up.
    I have tried switching users (my wife shares the pc under a different user name) to see if this works, but still no change. The only thing that appears to work is to switch the computer off and back on again.

    Well, contacted the weblink helpdesk, only to be told that, as they were in the USA and I in the UK, they couldn't help me and to contact the UK. This is via an 0844 number at 5p/minute. Looked up all the other (supposed) helplinks, which suggest that the user goes through a swathe of possibilities to cure the issue, without actually diagnosing the problem.
    Bit the bullet and phoned the helpdesk. 22 minutes of chat later, the solutions offered were (a) return the pc to the retailer under warranty or (b) perform a systme restore which means backing up all my data (again), re-formatting the system, then re-installing all my software and data again less than two weeks since I last did it. Of course, there's no guarantee that this will actually cure the issue.
    For the meantime, I've set the sleep modes on the pc and screen to "never" to see if that makes a difference......
    Always good to get a premium service.

  • JNLP running but JAR not executing

    I have a wierd problem... My JNLP gets deplyed the entire procedure of copying the file and checking for updates takes place... But the JAR file does not get executed... or rather the application doesn't start... When i try to run the jar file otherwise it works out perfectly... but with the JWS deployment it's not working...
    The same deployment works with the other jar files and runs perfectly...
    This JAR application is a dashboard that gives a screenshot of various device statuses....
    If anyone can help soon, it'll be a great help...
    Warm Regards,
    Saurabh Dubey

    I ran into something similar with the release of Java 1.4.2_05:
    If you're using a manifest file to create your .jar, make sure you're using ' . ' characters instead of ' / ' characters for the designation of your starting class.
    For example, if your manifest reads:
    "Main-Class: com/yourCompany/aDirectory/YourStartingClass"
    Change it to read:
    "Main-Class: com.yourCompany.aDirectory.YourStartingClass"
    For myself, I discovered that my Java Web Start files would download but no longer execute once I upgraded to 1.4.2_05. A post somewhere else on these forums led me to the above solution, which resolved the (quite frustrating) problem for me. Hope it works for you!

  • There was no sound after i record a video, it is not on a silent mode.what's wrong?, There was no sound after i record a video, it is not on a silent mode.what's wrong?

    when i record a video and play it after, there was no sound...but i try voice memos and it has sound...can u tell me what's wrong?=(

    I have tried turning up the volume and it still doesnt work, I think I have tried everything possible and still no good!

  • Can't boot up after Yosemite, not even in safe mode. Just hangs, or states unable to repair. Any ideas?

    When starting up it tried to install Yosemite, got about half way throught then stated it could not repair the disk (it wasn't broken!). Now it doesn't even try to install, it just get half way through a normal boot up and hangs. Have no access to anything so can't even uninstall/delete. The boot disk that came with my Mac doesn't work either. Can anyone think of a way out of this and still save what's on the disk?

    Hey there, it looks like you have a serious issue with Windows. However, as far as I can tell, Firefox is unable to cause this to your system. The update is confined to the Firefox program files, at worst it would make Firefox unusable.
    Unfortunately I don't have any idea what might have caused the issue in this case, but I'd suggest asking in forums that are specifically for Windows. They might be able to help you with getting back to a functional system.
    --Kadir

  • Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system. I have a wndiws 7 system and use a Intel core processor. I have restarted several times and still ge this

    Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system. I have a wndows 7 system and use a Intel core processor. I have restarted several times and still ge this error. I have also tried to reinstall firefox and get the same error
    == This happened ==
    Every time Firefox opened
    == today ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MDDS; InfoPath.2; .NET4.0C; AskTbUT2V5/5.8.0.12304)

    <u>'''Kill Application'''</u>
    In Task Manager, does firefox.exe show in the <u>'''Processes'''</u> tab?
    See: [http://kb.mozillazine.org/Kill_application Kill Application]
    '''<u>Causes and solutions for Firefox hanging at exit:</u>'''
    [[Firefox hangs]]
    [http://kb.mozillazine.org/Firefox_hangs#Hang_at_exit Firefox hangs at exit]
    [[Firefox is already running but is not responding]]
    <u>'''Safe Mode'''</u>
    You may need to use '''[[Safe Mode]]''' (click on "Safe Mode" and read) to localize the problem. Firefox Safe Mode is a diagnostic mode that disables Extensions and some other features of Firefox. If you are using a theme, switch to the DEFAULT theme: Tools > Add-ons > Themes <u>'''before'''</u> starting Safe Mode. When entering Safe Mode, do not check any items on the entry window, just click "Continue in Safe Mode". Test to see if the problem you are experiencing is corrected.
    See:
    '''[[Troubleshooting extensions and themes]]'''
    '''[[Troubleshooting plugins]]'''
    '''[[Basic Troubleshooting]]'''
    If the problem does not occur in Safe-mode then disable all of your Extensions and Plug-ins and then try to find which is causing it by enabling <u>'''one at a time'''</u> until the problem reappears. <u>'''You MUST close and restart Firefox after EACH change'''</u> via File > Restart Firefox (on Mac: Firefox > Quit). You can use "Disable all add-ons" on the Safe mode start window.

  • I consistently get this messsage and have to restart the system - "Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system". When I look at the Task Manager no Fire

    I consistently get this message and have to re'boot my system. "Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system"
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; GTB6.5; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET CLR 3.0.04506; InfoPath.2; Media Center PC 5.0; SLCC1)

    <u>'''Kill Application'''</u>
    In Task Manager, does firefox.exe show in the <u>'''Processes'''</u> tab?
    See: [http://kb.mozillazine.org/Kill_application Kill Application]
    '''<u>Causes and solutions for Firefox hanging at exit:</u>'''
    [[Firefox hangs]]
    [http://kb.mozillazine.org/Firefox_hangs#Hang_at_exit Firefox hangs at exit]
    [[Firefox is already running but is not responding]]
    <u>'''Safe Mode'''</u>
    You may need to use '''[[Safe Mode]]''' (click on "Safe Mode" and read) to localize the problem. Firefox Safe Mode is a diagnostic mode that disables Extensions and some other features of Firefox. If you are using a theme, switch to the DEFAULT theme: Tools > Add-ons > Themes <u>'''before'''</u> starting Safe Mode. When entering Safe Mode, do not check any items on the entry window, just click "Continue in Safe Mode". Test to see if the problem you are experiencing is corrected.
    See:
    '''[[Troubleshooting extensions and themes]]'''
    '''[[Troubleshooting plugins]]'''
    '''[[Basic Troubleshooting]]'''
    If the problem does not occur in Safe-mode then disable all of your Extensions and Plug-ins and then try to find which is causing it by enabling <u>'''one at a time'''</u> until the problem reappears. <u>'''You MUST close and restart Firefox after EACH change'''</u> via File > Restart Firefox (on Mac: Firefox > Quit). You can use "Disable all add-ons" on the Safe mode start window.

  • Installer build spec loses spec for exe to run after

    I don't know why, but now & then the build spec for my application installer loses the setting in the Advanced tab to run a certain .exe after installing. The .exe to run after installing is created by a build spec in the same project (from LV source). Besides rebuilding that .exe (without changing the .exe's build spec, name, or location, just minor source code mods), nothing has changed in the project, but the installer's Advanced setting will suddenly be gone. What the heck?!
    My project & source files are too large to attach.

    Hi Meg,
    I noticed this forum post and figured I would chime in here as well.
    We have been working on this issue and are hoping to isolate the exact steps that cause the sporadic loss of the postbuild EXE setting. An initial suspicion was the EXE being moved or rebuilt to a different location. That being said, if anyone has run into this issue in the past and has any insight it would be appreciated, as this problem has not been consistently reproduced.
    Thanks,
    Matt
    Product Owner - NI Community
    National Instruments

Maybe you are looking for

  • Remote access VPN on ASA5520 Ping Issues.

    Hi I hope someone might be able to help me. I have setup a remote access VPN on an ASA 5520. The VPN client connects ok, accepts my username and password and then I am in. I get an allocated IP address of 172.16.1.1 from the local pool. The problem i

  • Functional / semantic description of Enterprise Services in ESW

    Hello, we are trying to use Enterprise Services from within the Banking Services by identifying the needed functionality via the Enterprise Service Workplace and then using it in our integration szenario. While there are detailled technical descripti

  • Where are the compressed files ?

    Hi there, I had mp4 files imported into a FCP project. When I decided to compress them with copressor, all went OK until I got a message informaing me about lack of space on my disk. It used a huge space but I can't find where the "big files" were cr

  • Camera raw photoshop 7.1

    Bonjour, j'ai été obligé de formater mon disque dur donc obligé de réinstaller photoshop 7.1 et bien sur camera raw a disparu. Quelqu'un a t'il ce cette version ou une solution? merci d'avance.

  • Videos freeze and distorted sound

    Hi, about a week ago i bought the HP Pavilion 15 notebook PC, windows 8-64 bit, Product number: F4T60EA#ABU that has an intel i5 processor and ITB memory. About a few days after using it the HP support asisstant program suggested a sort of system upd