Registry key with Installer

I know that the subject was already posted but not completed for my case, somebody could help me on this problem, please? Previous post
Thanks.
Solved!
Go to Solution.

J.DECHET wrote:
I know that the subject was already posted but not completed for my case, somebody could help me on this problem, please? Previous post
Thanks.
Have you tried to create a registry key with [TARGETDIR]\\<Your app name> in the installer? The whole installer business is after all based on MSI so you best try to find how that would be solved in MSI and try then to apply that knowledge in LabVIEW.
And reading through one of the posts it would seem to me that this suggestion was already sort of linked to in one of the posts. If this can't be made to work in this way then I'm afraid there won't exist another solution directly in the installer, but I do think it will work.
Message Edited by rolfk on 12-29-2009 10:55 AM
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions

Similar Messages

  • Is there a way to create/edit registry keys with Java?

    I'm writing a console app and I'd like to have it so the users can change values in the registry. I'm not just talking about app keys I want any key. Is there a way to do this with Java?

    Maybe a forum search on "Windows registry" would turn up some useful things. You're not the first to ask this. You might save yourself and everyone else some time if you'd simply do that.

  • Registry key in installer

    Hi,
    I am createing an installer for a program. I need to create some entries in the windows registry. One of the values has to be the path to my executable, but I do not know the path when I create my installer. Is there any way I can retrieve the path to my installed executable during installation so that it can be written into the registry, or are there any other solution?
    Thank you in advance.
    Solved!
    Go to Solution.

    You could force the installer to run your executable upon finishing, and at that moment write the location of the executable to the registry.
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • Access Denied error on Registry Key with CRXIR2A SP6

    We ship now the latest CRXI version (2ASP6) with our application. One of our users (Win7 Home SP1)  gets an error on instantiating a report. Using ProcMon.exe this seems to be caused by an Access Denied error when accessing the  HKLM\Software\Wow6432Node\Business Objects\Suite 11.5\Crystal Reports key. What can be the cause?

    Hello Ludek,
    I had to take ownership and then change persmissions to full. The problem did not go away however. As I noticed that the register key mentioned did not contain any subkeys I tried to remove it. This again failed because of persmission denied error. Funnily some subkeys suddenly showed up. I took ownership, changed permissions and tried again. Lo and behold the subkeys I tried to delete (and in which no subkeys were visible) suddenly showed more subkeys. At this point I stopped fearing that I was damaging the client's computer. The subkeys were related to the RAS server. Does that say anyting to you?
    André

  • BPC 5.1 SP3 Client Installs Change EnableNegotiate Registry Key

    Just starting with BPC. Our first version is 5.1 SP3 and the server installation was completed successfully.
    However, we have found that installing either the Admin or Office client components changes the following windows registry key on the client machine.
    Under
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings
    EnableNegotiate is set to 0.
    This causes the users default home page link to our Sharepoint Intranet to fail with a security error (403.1).
    Uninstalling the client components does not reverse the registry key change.
    Only manually changing the value of the key back to 1 resolves the issue.
    Is there any way to prevent this key from being modified by the client installations?
    Why is the registry key changed?  Is it critical to the functionality of the client components?
    We have not seen any problems in the BPC 5.1 client applications with the EnableNegotiate key set back to 1.
    I'm new in these forums.  Any input is appreciated.
    Regards,
    James Littleton
    Edited by: James Littleton on Aug 15, 2008 4:19 PM

    Hi James,
    Personally I never have had any issues with this registry key, might be because I do not have many customers using sharepoint.
    As you already did, I would change the key and test all functions within BPC extensively, If no problems are found, you could go for it. But be carefull with upgrades of the client software of BPC
    Additionaly you could ask support why this key is changed with a client install of BPC.
    Instead of a client install via the BPC webportal, a lot of customers are preparing/using custom software packages like SMS. You could reset the registry key with the requred value by using these kind of packages automatically.
    Alwin

  • Windows handles left open after opening and closing registry key

    When I open a registry key with 'Create Registry Key.vi' or 'Open Registry Key.vi' and thereafter close it with 'Close Registry Key.vi', there are 2 Windows handles left open. As my program polls the registry for changes repeatedly, my system crashes because after a certain time of use, no handles are available anymore.
    I'm using Windows XP and Labview 8.6.
    The VI in the attachment illustrates the problem (reading and writing of values are left out as these have no influence on the problem).
    How can I read and write the registry, without leaving open handles?
    Ruud
    Attachments:
    Registry-handles.vi ‏12 KB

    Dear Ruud,
    thank you so much for your post on our webforum. I noticed that this is a known issue for Labview 8.6, a while ago it was reported with a Corrective Action Request (CAR# 132471). The issue should be resolved with Labview 2009. I wasn't able to reproduce the issue wit Labview 2010, the number of handles stayed arround 28000,
    best regards,
    Martijn S
    Applications Engineer
    NI Netherlands
    Attachments:
    handles.JPG ‏104 KB

  • SharePoint 2010 with SQL Reporting Services 2012 "Installation Error: Could not find SOFTWARE\Microsoft\Microsoft SQL Server\110 registry key"

    i have a small sharepoint farm "2 servers" (WFE) and SQL Server 2012 ,
    i installed rsSharePoint for reporting services , as a read the Reporting services is Application Service  with SQL 2012 not as SQL 2008 R2 with SharePoint integrated mode, so after installation when am trying to configure the  SQL Server
    Reporting Services Application services i got the below error :
    "Installation Error: Could not find SOFTWARE\Microsoft\Microsoft SQL Server\110 registry key"
    any kind of help would be much appreciated .

    I'm having the same issue, but to me it seems like the instructions I've seen are all over the place.  I already have SP 2013 and SQL 2012 SP 1 installed.  I already added the features for Reporting Services - Sharepoint and Reporting Services
    Add-in for SharePoint Products.  I didn't see the Reporting Service service in CA, so I ran the powershell scripts to add SPRSService and SPRSServiceProxy. 
    My initial quest, was to get the BI features enabled, which took me on the journey of adding the Report Services, then I got the error.
    Then when I read this about installing the BI features
    http://blogs.msdn.com/b/querysimon/archive/2012/11/26/installing-the-bi-features-of-sharepoint-2013.aspx, which I already had SQL and SP installed.  Do I have to rerun and selct the SQL Server PowerPoint for SharePoint option?  I have the PowerPoint
    Configuration Tool on my SQL server, I run it and I get PowerPivot for SP 2013 Configuranoi is missing prerequisits:  SP 2013 EE is required.  Which I have EE.
    Is Reporting Services different or in addition to the BI Feature (PowerPivot)? 
    Have I missed a step?
    Thanks for you help.
    Kim
    Kim.Williams

  • I can not re-install/ update apple iTunes on my HP PC running Win7-64.  I get a registry key error when installing and am asked to make sure I have access.  IT is a home PC with one user and I have admin priveledges.

    When the updater notified me of an iTunes update, I selected the update option.  The update failed and killed the version I was running.  I have tried for a year to fix the problem without sucess.  I can't completely remove all Apple products.  I can not install any apple products especially iTunes which is the only one I am interested in.
    When I install iTunes now I get a registry key error similar to this:
    I am using a machine where I am the only user and am the Admin.   I have looked at the security settings on this key and see nothing wrond with it or the parent keys.  I tried removing all apple products but ran into similar problems.  At this time I still have Bonjour. Mobile Device Support, Software Update, and Application Support installed.

    These ones are tricky. But the following instructions are worth a try.
    First do a complete uninstall of iTunes and related components (but don't reinstall just yet), as per the following document:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    a. Launch regedit (Start >> Search Programs and Files >> type Regedit and open the regedit that comes up.)
    b. Access the following Location: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData \S-1-5-18\Components
    c. Perform the following actions
    i. Right Click on Components Folder
    ii. Select Permissions
    iii. Select Full Control and Read Permissions options
    iv. Select Advanced Button
    v. Select Owner Tab
    vi. Select to Change Owner to the Administrators
    vii. Check the option “Replace owner on subcontainers and objects”
    viii. Select OK when prompted that it may not change all.
    ix. Select Apply
    x. Select Apply again
    xi. Exit the Registry Editor
    Now try reinstalling iTunes again. Does it go in properly this time?

  • SQL Server Installation failing saying 'Could not write values to registry key \SOFTWARE. Verify you have sufficient access or contact support personnel'

    Hi,
    I am trying to install SQL server 2012/SQL Server 2014 and I constantly keep getting this error and the Management Tools fails to install.
     'Could not write values to registry key \SOFTWARE. Verify you have sufficient access or contact support personnel'
    Tried installing even SQL Server 2008 and still get the same error.
    Below is the log i get from C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140705_151943\sql_ssms_Cpu64_1.log
    MSI (s) (FC:D8) [15:22:55:746]: Executing op: RegAddValue(Name=SQLPath,Value=C:\Program Files (x86)\Microsoft SQL Server\110\Tools,)
    MSI (s) (FC:D8) [15:22:55:746]: Executing op: RegOpenKey(Root=-2147483646,Key=SOFTWARE,,BinaryType=0,,)
    MSI (s) (FC:D8) [15:22:55:746]: Executing op: RegAddValue(,,)
    MSI (s) (FC:D8) [15:22:55:746]: Note: 1: 1406 2:  3: SOFTWARE 4: 5 
    MSI (s) (FC:D8) [15:22:59:434]: Product: SQL Server 2012 Management Studio -- Error 1406. Could not write value  to key \SOFTWARE.  System error .  Verify that you have sufficient access to that key, or contact your support personnel.
    Error 1406. Could not write value  to key \SOFTWARE.  System error .  Verify that you have sufficient access to that key, or contact your support personnel.
    MSI (s) (FC:D8) [15:23:03:435]: User policy value 'DisableRollback' is 0
    MSI (s) (FC:D8) [15:23:03:435]: Machine policy value 'DisableRollback' is 0
    Action ended 15:23:03: InstallFinalize. Return value 3.
    Just not able to figure out what the problem is, can someone help?
    Thanks

    Hi,
    Thanks for providing log
    Following is in the log.
    01) 2014-07-09 11:08:53 Slp: Could not write value  to key \SOFTWARE.   Verify that you have sufficient access to that key, or contact your support personnel.
    (01) 2014-07-09 11:08:58 Slp: Watson bucket for generic failure has been created
    (01) 2014-07-09 11:08:58 Slp: Error: Action "Install_sql_ssms_Cpu64_Action" failed during execution.
    (01) 2014-07-09 11:08:58 Slp: Completed Action: Install_sql_ssms_Cpu64_Action, returned False
    (01) 2014-07-09 11:08:59 Slp: ----------------------------------------------------------------------
    (01) 2014-07-09 11:08:59 Slp: Running Action: Install_sql_tools_Cpu64_Action
    (01) 2014-07-09 11:08:59 Slp: Sco: File 'D:\Softwares\SQL2012\DeveloperEdition\x64\setup\x64\sql_tools.msi' does not exist
    (01) 2014-07-09 11:07:00 Slp: Sco: File 'D:\Softwares\SQL2012\DeveloperEdition\x64\setup\x64\sql_ssms.msi' does not exist
    (01) 2014-07-09 11:07:00 Slp: Checkpoint: PREINSTALL_SQL_SSMS_CPU64_ACTION
    (01) 2014-07-09 11:07:00 Slp: Sco: Waiting for service 'msiserver' to accept the stop request.
    (01) 2014-07-09 11:07:00 Slp: Sco: Attempting to open SC Manager
    (01) 2014-07-09 11:07:00 Slp: Sco: Attempting to open service handle for service msiserver
    (01) 2014-07-09 11:07:00 Slp: Invoking QueryServiceStatus Win32 API
    (01) 2014-07-09 11:07:00 Slp: Sco: Attempting to close service handle for service msiserver
    (01) 2014-07-09 11:07:00 Slp: Sco: Attempting to close SC Manager
    (01) 2014-07-09 11:07:00 Slp: Target package: "D:\Softwares\SQL2012\DeveloperEdition\x64\setup\sql_ssms.msi"
    (01) 2014-07-09 11:07:57 Slp: MSI Error: 1406 Could not write value  to key \SOFTWARE.   Verify that you have sufficient access to that key, or contact your support personnel.
    (01) 2014-07-09 11:08:38 Slp: InstallPackage: MsiInstallProduct returned the result code 1603.
    (01) 2014-07-09 11:08:38 Slp: Using MSI error code to detect the retry option: 1406
    (01) 2014-07-09 11:08:38 Slp: No retry-able MSI return code detected.
    (01) 2014-07-09 11:08:38 Slp: Watson Bucket 2
     Original Parameter Values
    From above it seems client tools component is missing from Installation or may be problem with Windows installer but I guess this is not issue with windows installer . Can you re download SQL Server package and run again.
    Edit: For further analysis can you also post log from below location on skydrive
    C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140709_104804\sql_ssms_Cpu64_1.log
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • Reportings Services in a 2-Tier Architecture / (Installation Error: Could not find SOFTWARE\Microsoft\Microsoft SQL Server\110 registry key. )

    Hello,
    we want to install Reporting Services in a 2-Tier Architecture. The Servers are the following:
    SERVER1: Windows Server 2012 and SQL Server 2012
    SERVER2: SharePoint 2013 (WFE)
    Reporting Server is installed on SERVER1 and running. On SERVER2 the registration of the service through Powershell was done but it does not start. An Error when starting the Service on the server occurs with the message:
    "Installation Error: Could not find SOFTWARE\Microsoft\Microsoft SQL Server\110 registry key."
    I have found the following in msdn stating that a minimal of the same SharePoint Installation must exist on the Reporting Server. The article is for SQL Server 2008 R2 and SharePoint 2010. Is this the case also for SQL Server 2012 and SharePoint 2013 and
    the root of the problem? http://msdn.microsoft.com/en-us/library/bb510781%28v=sql.105%29.aspx
    If so does this mean that I require for the installation another License?!?!
    Thank you in advance!

    Hi,
    According to your post, my understanding is that you wanted to install Reporting Services in a 2-Tier Architecture.
    As the article
    say, if you use Two-Computer Deployment, the first computer hosts an instance of a SharePoint product. The Reporting Services Add-in is installed on this computer. The second computer hosts SQL Server Reporting Services and the Database Engine.
    The steps to install in a  two-tier environment are very similar to a standalone environment hence you can go to refer to the ' Install Reporting Services SharePoint Mode for SharePoint 2013' article at http://msdn.microsoft.com/en-us/library/jj219068(v=sql.110).aspx
    To install in a  two-tier environment, you can refer to:
    How to setup, configure and test
    SQL 2012 SP1 SSRS with SharePoint 2013 SP1
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • SCCM 2012 Installation Directory Registry Key chaning automatically to Old Installation Path

    Hi Guys,
    I have recently recovered SCCM 2012 SP1 CAS Site from Primary Site by reinstalling CAS site and database was replicating with Primary sites properly after CAS recovery. But we noticed that after approx. 2 hours of CAS site recovery database replication stopped.
    After long digging into SCCM log files we found that SCCM installation directory was pointing to old CAS Site Installation Directory (Which was before recovery) instead of NEW Installation Directory so we changed SCCM CAS Site Installation Directory manually
    to new installation path in below registry key and everything was running fine again on CAS Site.
    HKEY_LOCAL_MACHINE\Software\Microsoft\SMS\Identification
    But again when we restarted SMS_EXEUTIVE Service, SCCM Installation Directory again changed to old installation patch under above registry location and all is bad again. We are unable to figure out what is causing this and even we formatted our HDD before
    installation CAS Site.
    Can anyone please help to get rid of this issue. Our while CAS site is down due to this issue.
    Thanks.

    I think that you have to use the same installation directory in a site recovery scenario.
    Torsten Meringer | http://www.mssccmfaq.de

  • Activate Updater with registry key

    Hi there,
    i have got a problem. I will make it quick. I look for a way to set the updater to status "download all updates and install them automatically".
    I want to do this with a registry key which i will send to all clients in our organisation for installation.
    Can someone tell me which registry key is changed when i set the status to "download all updates and install them automatically"?
    We are using Adobe Reader 9.3.
    Thanks in advance.

    see here :
    http://forums.adobe.com/thread/616675?tstart=30

  • App Builder Installer Build Registry Keys no longer created in Vista.

    This board has been a great resource for answers...thank you all for your help.
    Last week (7/31/09), an automatic MS Windows Vista Home Premium
    upgrade was performed on my development PC.  After the upgrade, I
    used AppBuilder to build the final version of my application, which writes
    3 string keys to the Window's registry.  The Installer build completed successfully,
    however, when I run setup.exe, I received an OS error stating that I don't
    have permission to update the registry.  I have full admin rights AND
    User Account Control (UCS) is OFF.  This error notification occurred 3
    times, once for each registry addition attempt.
    The installation was working correctly prior to this Vista update and still works in XP.
    Any help would be greatly appreciated!
    Please note that this is VI independent- the registry keys were created through
    the AppBuilder 'Installer' tool.
    I worry that this problem will manifest itself with all new LV application installations
    that have the Vista upgrade.

    Does the installation fail only when you try to install on computers that have the Vista update?  Or since you have updated your development computer, when you build the installer again the installation will fail on any computer?  Have you tried installing it on more than one computer with the Vista update?
    Please attach the installer log for when the installation fails.
    http://digital.ni.com/public.nsf/allkb/AB597E885DB7D16B86256E92006DB232?OpenDocument 
    Cheers,
    David Goldberg
    National Instruments
    Software R&D

  • Registry key string values disappearing with SCOM

    I'm trying to determine why some registry key string values are disappearing when Windows Server 2008 machines are restarting. In all cases, System Center Operations Manager is installed on the server. The registry keys whose string values are deleted are
    HKLM\System\CurrentControlSet\Services\IISADMIN, HKLM\System\CurrentControlSet\Services\W3SVC, and HKLM\System\CurrentControlSet\Services\WAS.
    The string value is the same in all cases. The string data item is called "Environment" and the string multisz value is "COR_ENABLE_PROFILING=0x1".
    Does SCOM, or part of it such as the Avicode monitor, cause these values to be removed when a system is restarted?
    Thanks,
     Bob

    Bob,
    SCOM2007 will do nothing in that sense, unless it is integrated with AVIcode --> but that would mean you have TWO agents on the machine (the SCOM and the AVIcode agent), since they were two separate products... where you run your other profiler,
    you should not use AVIcode.
    SCOM2012 installs the APM piece with its agent... but leaves it DISABLED until you configure it. While it is disabled, no rule that touches configuration gets applied to it. Once you do ENABLE the APM functionality, then yes, we will go and change the registry
    key adding ourselves (APM) as profiler... because that is what the configuration to tells us to do. If you REMOVE that configuration, we'll clear ourselves out of it.
    But again, it requires configuration to be done -- otherwise, out of the box, we do none of this.

  • Java Plug-in not working with WinXP SP2 Registry Key Missing Error Pop-Up

    I have WinXp PRO with SP2 and the Oct 12 Security Update Patch for SP2 loaded and I went to my Control Panel and saw that the JavaRuntime Environment 1.4.2_04 icon was missing and when I went to click the Java Plugin icon to Open it, I got the following message in a Error Pop-Up window:
    The system cannot find the registry key specified:
    HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java pPlug-in\1.4.2_04\JavaHome
    I then went to Chage Access Program Controls and when I clicked on the Change box for the program, it wanted me to re-install the whole environment.
    Prior to doing this, and potentially screwing up my MS winXp environment, I went to the Sun support page for Java Plug-in and I did get the dancing elmo appear as they said I would but I noticed that my environment was MS VM, not Java and that I was out of date and a newer update was avaliable.
    The downloads page for the plug-in states clearly that it supports WinXp SP1 and NOT SP2.
    SO, my question is, do I need to re-install anything or wait till the whole SP2 issue and java with (BITS) issue gets resolved and just use the MS VM engine during my browsing time? Is there a workaround and what impact will this have on my system? I am not developing Java Apps but am a Power user in Windows who is wondering if applets and general browsing might be easier, faster and more fluid if the Java Runtime was enabled as opposed to the MS VM solution?
    Any ideas or thoughts on this very timely issue would be greatly appreciated as I see others have tried to post related issues but none that succinctly combines what I have asked for here in this post.
    Thanks from NYC -Phil

    did you know that XP SP2 has so many technical problems? try SP1 or contact the WindowsXP Vendor

Maybe you are looking for

  • Stop and Play All Child MovieClips in Flash with Actionscript 3.0

    I am stuck with the ActionScript here. I have a very complex animated flash movie for eLearning. These contain around 10 to 15 frames. In each frame I am having multiple movie clip symbols. The animation has been created using a blend of scripting an

  • People search portlet problems

    Hi, I'm trying to use the built in People Search application in Portal 3.0.9.8.1. When I enter a name and click on the button to search I find that the search results are unreadable, i.e., no text appears in the rows that are returned. If my search c

  • How can I force Mail to ask me to choose outgoing server each time I send an email?

    I work for 3 different companies and I have 3 different mail accounts in my Mail for each of them. It happens to me very often that my email is sent from the wrong account, causing me a lot of trouble. This is of course my human mistake, but I want t

  • Enhance select statements

    Hi all,   I have added 2 select options in the selection screen of standard report using implicit enhancements. Now I have to change the select statement to restrict the data according to these two select options also. How can I change that statement

  • RMI: Is it the right choice?

    I want to make an application that connects to 1 other peer. So I'd run the application and if I type in the IP of someone else running the same application, we can connect to each other and do stuff like chatting. Is RMI the right choice to make thi