08-16-2012 05:10 PM
Just updated to LV2012, and migrated one of my applications over from LV2011.
Blindly mass compiled to new version, built the executable, built the installer, installed it...
Then I tried running it, and it wasn't in my start menu.
Did some more digging, and it seems like in the upgrade process, the shortcuts listings in my project installer all disappered so the installer no longer put the entry in the start menu. Reconfigured the application installer for my project to add the shortcut to the start menu and all was good again.
Can anyone else reproduce this problem in their project?
08-17-2012 11:21 AM
I just created a simple exe in 2011 that added two numbers. I then made the installer and included the start menu in the shortcuts. I then used the Mass Compile option in LabVIEW 2012 to upconvert. When I opened the installer settings in 2012, they were still the same. I rebuilt the exe and installer in 2012 and ran the installer. The exe showed up in the start menu as expected, therefore I was not able to recreate your situation.I am glad you were able to make the changes to make the installer worked as you expected and hopefully that was a one time thing. If you have not yet installed the LabVIEW 2012 f1 Patch, I highly reccomend it. It can be found here: http://joule.ni.com/nidu/cds/view/p/id/3332/lang/en. One of the fixes deals with application building.
08-17-2012 12:33 PM
OK. I'll just assume this was some weirdness on my part and not worry about it.
Looking at the installation, I already have 2012f1 patch installed.
04-23-2013 06:08 PM
This is happening to me. It looks like the installer does some validity-check on the target of the Shortcut. If the validity-check fails, the installer treats the shortcuts as invalid, and they disappear. In my case, a DLL-dependency gets copied to the EXE's destination folder. Whenever I build the EXE, I have to delete the DLL first, otherwise the EXE-builder throws an error. I believe the installer is sensitive to whether the EXE can be built, because if I rename the DLL in the EXE folder, the shortcuts reappear and the "Error Generating Preview" error goes away!