Add Registry in WebDeploy package

I have read some articles stating that a web deploy package can contain registry information. Can someone let me know how to include registry information into this package?

Hi,
Please have a check on the below links and check if it helps.
http://blogs.msdn.com/b/webdev/archive/2010/02/09/how-to-extend-target-file-to-include-registry-settings-for-web-project-package.aspx
http://technet.microsoft.com/en-us/library/dd569085(WS.10).aspx
Regards,
Mekh.

Similar Messages

  • Disable add-in from VSIX package

    I trying to disable an add-in when my package is initialized
    EnvDTE80.DTE2 dte2 = (EnvDTE80.DTE2)GetService(typeof(EnvDTE.DTE));
    foreach (EnvDTE.AddIn addin in dte2.AddIns)
    if (addin.ProgID.Equals("MyAdddin.Connect"))
    addin.Connected = false;
    break;
    That seems to correctly disable the add-in as if you have unchecked the "Available Add-ins" column in the add-in manager, but when VS restart the add-in is enabled, any ideas how to make this change persistent?
    I have other issue with this approach my package uses auto-load 
    [ProvideAutoLoad(UIContextGuids80.SolutionExists)]
    So the add-in doesn't get disabled until a solution opens, is there a way to get my package loaded after VS start even without solution, I see there is
    UIContextGuids80.NoSolution but isn't activate when VS just starts without a solution/project loaded.

    [ProvideAutoLoad(VSConstants.UICONTEXT.NoSolution_string)]
    should load your package even if a solution is not loaded. Do not mix it with other ProvideAutoLoad values.
    Regarding the add-in question, to mark an add-in not to load on startup there is no API, you need to modify:
    - If the add-in uses COM-registration, the LoadBehavior=0 name/value in the registry key where it is registered.
    - If the add-in uses XML-registration (.AddIn file), you need to locate the .AddIn file and modify the <LoadBehavior>0</LoadBehavior> tag value.
    Notice that in both cases, if the add-in is registered for all users (and not for the current user), administrator rights will be required, and your package will lack them because since VS 2008 the IDE is launched without admin rights by default. So you
    may want to revisit your approach and maybe just show a warning to the user to make her to unload/uninstall the add-in if your package detects that the add-in is loaded. Or make your package compatible with the add-in and do nothing else.
    * My new blog about VSX: http://www.visualstudioextensibility.com * Twitter: https://twitter.com/VSExtensibility * MZ-Tools productivity extension for Visual Studio: http://www.mztools.com.

  • Is there a way to add files to a package without repackaging in a new folder?

    So I'm working on this promotional binder for a company. I'm working section by section including photos and whatnot. Anyways, I got to a certain point with one section and packaged everything so I could start anew the following day.
    My question is this: is there a way for me to add files to the InDesign file I already packaged WITHOUT having to repackage in a new folder and archive the old one?
    I mean it just seems to me that I SHOULD be able to select the package option and the work would repackage/update the package, much like a Word file would when you select the save button.
    (And if there isn't, is someone at Adobe paying attention that could make this a possibility? That would be fantastic.)

    You can Add images to your package by using the Links Panel submenu (top right) and choose Utilities> copy links to...
    And you can select the images you want first - or don't select any to copy them all.
    Fonts - not so much.
    But that's one easy way to get new images into your packaged folder.
    But I don't like this to be honest. I much prefer creating a new Package and calling it "Version 2" or "Final Artwork" or something that is right by your file naming convention.

  • "Add registry key to VHD to run VmRemoteTool on boot" task fails on SRIOVBasicVerification test

    Hi,
    I am running SRIOVBasicVerification test. I see below subtask "Add registry key to VHD to run VmRemoteTool on boot" is failing and does not produce any log.
    I have passed below parameters to the test.
    VMName    :Test
    VHDName  : 2012R2.vhd
    VHDPath    : c:\VHDs
    I have placed 2012R2.vhd in c:\VHDs of test machine.
    PS C:\VHDs> get-netadaptersriov
    Name                 : Ethernet 3
    InterfaceDescription : Network Adapter
    Enabled              : True
    SriovSupport         : Supported
    SwitchName           : Default Switch
    NumVFs               : 32
    Name                 : Ethernet 4
    InterfaceDescription :Network Adapter #2
    Enabled              : True
    SriovSupport         : Supported
    SwitchName           : Default Switch
    NumVFs               : 32
    Thanks, Krishna

    I use this vbscript at the end of my SCCM TS which writes the following to a regkey in HKLM\Software\SCCM_OSD
    It doesn't populate all the values but it does most of them and has been very helpful to me.
    This is what it writes to the key:
    Date Installed
    TaskSequenceName
    AdvertisementID
    Organization
    TaskSequence ID
    TSVersion
    SMSClientGUID (This is the original SMSClient Guid before OSD)
    On error resume next
    dim osd
    dim strkeypath
    set env = CreateObject("Microsoft.SMS.TSEnvironment")
    const HKEY_LOCAL_MACHINE = &H80000002
    'variables
    TaskSequenceName = env("_SMSTSPackageName")
    AdvertisementID = env("_SMSTSAdvertID")
    Organization = env("_SMSTSOrgName")
    TaskSequenceID = env("_SMSTSPackageID")
    Packagename = env("_SMSTSPackageName")
    MediaType = env("_SMSTSMediaType")
    TSVersion = env("TSVersion")
    SMSClientGUID = env("_SMSTSClientGUID")
    Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\default:StdRegProv")
    '----------- Write to registry ---------------
    strKeyPath = "SOFTWARE\SCCM_OSD"
    oReg.CreateKey HKEY_LOCAL_MACHINE,strKeyPath
    strValueName ="Installed Date"
    strValue = formatdatetime(date,2) & " " & formatdatetime(time,3)
    oReg.SetStringValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,strValue
    strValueName = "TaskSequenceName"
    strvalue = TaskSequenceName
    oReg.SetStringValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,TaskSequenceName
    strValueName = "AdvertisementID"
    strvalue = AdvertisementID
    oReg.SetStringValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,AdvertisementID
    strValueName = "Organization"
    oReg.SetStringValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,Organization
    strValueName = "TaskSequence ID"
    oReg.SetStringValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,TaskSequenceID
    strValueName = "TSVersion"
    oReg.SetStringValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,TSVersion
    strValueName = "SMSClientGUID"
    oReg.SetStringValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,SMSClientGUID

  • ERROR: The program is unable to generate the add-on queue due to missing add-ons or Support Packages.

    Hi,
    Can anyone advice on below issue?
    ERROR: The program is unable to generate the add-on queue due to missing add-ons or Support Packages.    
    Add the missing Support Packages or repeat the current step and change the add-on selection.
    Missing Support Package(s):
    Correction
    Component
    IW_FNDGC
    I have manually download these components which is SAPK-10001INIWFNDGC and SAPK-10002INIWFNDGC and put it in the download directory and repeat the phase.
    Besides, I also checked that these 2 components were inside EPS/in folder CSN0120061532 0083837 PAT and CSN0120061532 0079648 PAT
    Thanks and regards,
    Shu Jie

    Hi Shu Jie,
    you can't delete already installed add-ons. Please refer to note #1569624:
    It is not possible to uninstall GATEWAY 2.0
    Before you install the GATEWAY 2.0, keep in mind that you cannot uninstall ABAP add-ons.
    The add-on GW CORE will be merged in IW_FNDGC. This information can also be found in above note:
    Please
    note:
    GW_CORE 200 is not released for SAP_BASIS 740.
    The successor is IW_FNDGC 100.
    There are two possible reason for your error:
    The stackfile is not well configured.
    Your SUM is not the very latest one. SUM SP10 contained a bug in its first patch levels which shows retrofitted components in IS_SELECT.
    Cheers,
    Andreas

  • How can I install add-ons with CC Packager and an Enterprise licence?

    I'd like to install  Adobe Color CC Panel (kuler). I dont seem to have access to add-ons via Cloud Packager. The end-users can't install anything. Can I somehow have access to the installation files?

    Instead of left clicking you can right-click the Download button and use "Save Link as" to save the file to your computer.

  • ???Why Can't get businessEntity from IBM Registry using JAXR Package???

    Hi,I published a businessEntity SWSD Research Group on IBM UDDI Registry,and after that i wrote some code to query this businessEntity,and here is the code:
    import javax.xml.registry.*;
    import javax.xml.registry.infomodel.*;
    import java.util.*;
    import java.util.Iterator;
    public class FindTest
      ConnectionFactory factory;
      Properties props;
      Connection conn;
      RegistryService rs;
      BusinessQueryManager bqm;
      String httpProxyHost="";
      String httpProxyPort="";
      public FindTest()
        try
          factory = ConnectionFactory.newInstance();
          props=new Properties();
          props.setProperty("javax.xml.registry.queryManagerURL",
                            "http://uddi.ibm.com/testregistry/inquiryapi");
          props.setProperty("javax.xml.registry.factoryClass",
                            "com.sun.xml.registry.uddi.ConnectionFactoryImpl");
          props.setProperty("javax.xml.registry.http.proxyHost",httpProxyHost);
          props.setProperty("javax.xml.registry.http.proxyPort",httpProxyPort);
          props.setProperty("javax.xml.registry.lifeCycleManagerURL",
                     "https://uddi.ibm.com/testregistry/publishapi");
          factory.setProperties(props);
          System.out.println("Connecting to IBM Registry......");
          conn=factory.createConnection();
          System.out.println("Connection established successfully......");
          rs=conn.getRegistryService();
          bqm=rs.getBusinessQueryManager();
        catch(JAXRException je)
          je.printStackTrace();
      public void findOrganiazationByName(String namePattern) throws JAXRException
        Collection findQualifier=new ArrayList();
        System.out.println("finding organization "+namePattern+" by Name Desc");
        findQualifier.add(FindQualifier.SORT_BY_NAME_DESC);
        Collection namePatterns=new ArrayList();
        namePatterns.add(namePattern);
        BulkResponse response=bqm.findOrganizations(findQualifier,namePatterns,null,null,
                                                    null,null);
        Collection orgs=response.getCollection();
        Iterator orgItr=orgs.iterator();
        while(orgItr.hasNext())
          Organization org=(Organization)orgItr.next();
          String name=(org.getName()).toString();
          System.out.println("Organization Name:"+name);
          String key=(org.getKey()).toString();
          System.out.println("Organization Key:"+key);
          Collection services=org.getServices();
          Iterator serItr=services.iterator();
          while(serItr.hasNext())
            Service service=(Service)serItr.next();
            name=(service.getName()).toString();
            System.out.println("\tService Name:"+name);
            key=(service.getKey()).toString();
            System.out.println("\tService Key:"+key);
       System.out.println("Finding process terminated!");
      public static void main(String[] args)
        FindTest ft=new FindTest();
        try
          ft.findOrganiazationByName("%SWSD%");
        catch(JAXRException je)
          je.printStackTrace();
    }And this is the output:
    Connecting to IBM Registry......
    Connection established successfully......
    finding organization %SWSD% by Name Desc
        <The businessEntity information should be here>
    Finding process terminated!As you can see,i didn't get any exception information,and i didn't get the businessEntity information either.But using the "Web Services Explorer" in JBuilder I could find it.So there must be something wrong with my code,or may be some configuration mistakes exist!It would be very kind of you to consider about this problem,and if you successeded in query the businessEntity,it would be very can of you send your reply and your code to my email:
    [email protected]
    many many thanks advance!
    @smile@

    I found a fix, for now. I uninstalled Acrobat and reinstalled it with UAC (User Account Control) switched off. Registered the program and opened a few PDF files before switching UAC back on.

  • Execute Business Add-in in Info-package

    Hi,
      I implemented the Business Add-in as a subsequent process. If I execute the info package, Business Add-In is executing. But, If I run the info package using the Process Chains, then the Business Add-In is not executing.
    Is there any special process to make the Business Add-In work in Process Chains?
    Your help is highly appreciated.
    Thanks,
    Trinadha

    Hi Trinadha,
    if you want to work with some ABAP code in your process chain, put your own code in a program and then include it as a subsequent process type...
    For details see in www.service.sap.com/bw -> SAP BW InfoIndex -> How to... Integrate an ABAP program into a process chain 3.x (pdf)
    Hope it helps (and please don't forget to assign some points by clickin on the yellow star to the contributors that help you !!!)
    Bye,
    Roberto

  • Modify / Add registry keys through GPO

    Hi
    How can we add / modify registry key through GPO (we are using Windows 2003 AD). Our requirement is to add / modify below key
    HKEY LOCAL MACHINE\Software\Microsoft\Ole , Name: EnableDCOM, Type: REG_SZ, Data: Y
    Thanks in advance 
    LMS

    Hi,
    In addition to the above suggestions, Registry GPP is another alternative method to achieve your goal.
    You do not need to upgrade to Windows Server 2008 or Windows Server 2008 R2 to use Group Policy Preference policies. You can configure a Group
    Policy preference item in a Windows Server 2003 environment from either a Windows Server 2008/R2 server or a Windows Vista with Service Pack 1/Windows 7 client with RSAT update installed. If you do not have Windows Server 2008/R2 server, you can download
    and install Remote Server Administration Tools on a Windows Vista or Windows 7 client to manage and configure them.
    Microsoft Remote Server Administration Tools for Windows Vista 
    http://www.microsoft.com/downloads/details.aspx?FamilyId=9FF6E897-23CE-4A36-B7FC-D52065DE9960&displaylang=en
    Remote Server Administration Tools for Windows 7 
    http://www.microsoft.com/downloads/details.aspx?FamilyID=7D2F6AD7-656B-4313-A005-4E344E43997D&displaylang=en
    The CSEs for the new Group Policy preference functionality are required in Windows XP Service Pack 2 (SP2), Windows Server 2003 Service Pack 1 (SP1), and Windows Vista to process the new preference items. To download and install CSEs, please refer to the following
    link:
    Information about new Group Policy preferences in Windows Server 2008
    http://support.microsoft.com/kb/943729
    Regards,
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Updating Registry in Global Package yields no change

    Having another odd issue.  I have an application, ProgramX. We are publishing it to machines (Global).  After publishing it to the end users machine (tester), an issue was found, but a simple registry change will fix it.  So I go into the
    package (Edit package, not Update), make the reg change, save and publish the updated version.
    Computer 1: (had package already loaded) - Reg change does not get applied.  Even after removing / reloading package.
    Computer 2: (did not have package loaded, added to publishing) - Reg change is present, application runs as expected.
    No matter what I do, I can't get computer 1 to show the change.  I dismiss it as something wrong with that system. Computer 2 is a fresh image.
    Another issue comes up, same thing: simple registry fix will resolve.  I go through the same steps, publish the update, etc.
    Computer 1: Still no change seen, so now 2 issues behind.
    Computer 2: No change seen, now 1 issue behind.
    Computer 3: (No package, added this one as well): Good to go.
    Anyone have any thoughts on this?  Or should I open a case / file bug report?
    Note specifically, I am not resequencing.  I am merely clicking Edit Existing Package and changing the value in the Virtual Registry.
    EDIT: Note, Running AppV 5.0 SP2 HF5
    Remember, mark posts that are helpful, or if it has answered your question, mark as answer.

    The user changes are layered on top of whatever is in the package. So in this application, whatever setting you are trying to change is already in the user personalisation layer, and repairing the package wipes this layer, solving the issue.
    If you find yourself in a situation where you need to repair the package for every user when issuing an upgrade, another way around it is to use Save As and save as a new package with a new GUID. Then the personalisation layer for the older package will
    no longer be used and it will be starting from fresh.
    If you need to deploy this registry update without wiping the user's application settings, then putting the settings in the config file is the best way forward.
    Dan Gough - UK App-V MVP
    Blog: packageology.com
    Twitter: @packageologist
    LinkedIn

  • To add registry in matrix

    as I can add a registry in a matrix, selecting in the following registry to I complete?

    Ola Gonzalo
    Bueno soi de portugal, pero me gusta mas escribir en español que en inglês.
    Para eliminar la lineas de una matrix que me muestra dados de una tabla ei creado la seguiente sub:
    Sub RemoveLinhaMatrix(ByRef pVal As SAPbouiCOM.MenuEventClass)
            Dim sboForm As SAPbouiCOM.Form
            Dim sbomatrix As SAPbouiCOM.Matrix
            Dim sboDtSrc_CHSVC1 As SAPbouiCOM.DBDataSource
            Dim row As Integer
            sboForm = SBOApplication.Forms.ActiveForm
            sbomatrix = sboForm.Items.Item("MyMatrix").Specific
            Try
                sboDtSrc_CHSVC1 = sboForm.DataSources.DBDataSources.Add("@XX_CHSVC1")
            Catch ex As Exception
                sboDtSrc_CHSVC1 = sboForm.DataSources.DBDataSources.Item("@XX_CHSVC1")
            End Try
            row = sbomatrix.GetNextSelectedRow(0, SAPbouiCOM.BoOrderType.ot_RowOrder)
            If sboDtSrc_CHSVC1.Size <= 1 Then
                SBOApplication.MessageBox("Não pode eliminar o ultimo registo, para eliminar este registo terá que primeiro inserir um outro.", 1, "&OK")
            Else
                If sboDtSrc_CHSVC1.GetValue("U_XX_CHSVC", row - 1) <> "" Then
                    SBOApplication.MessageBox("Não pode eliminar este registo por já ter uma Chamada de serviço criada.", 1, "&OK")
                Else
                    sboDtSrc_CHSVC1.RemoveRecord(row - 1)
                    sbomatrix.LoadFromDataSource()
                    sboForm.Mode = SAPbouiCOM.BoFormMode.fm_UPDATE_MODE
                End If
            End If
    para llamar la sub tienes que interseptar el evento menuEvent:
    Select Case pVal.MenuUID.ToUpper
      Case "1293"
        BubbleEvent = False
        RemoveLinhaMatrix(pVal)
    Espero que esto te allude.
    Sérgio Sousa

  • Unable to add java files with package statement

    Hi all,
    I have the following problem. I add to my project(JBuilder8) a set of java files that
    they have in their headers the statement...
    package jp.gr.java_conf.tame.swing.table;except one with statement...
    package jp.gr.java_conf.tame.swing.colorchooser;If i try to compile the project i get the following message many times for
    each file...
    "AttributiveCellRenderer.java": Error #: 901 : package
    jp.gr.java_conf.tame.swing.table stated in source
    C:\Development\JBProjects\cellspan\AttributiveCellRenderer.java does not
    match directory . at line 4, column 36What i have to do to embed correctly the java files?
    Thank you for advance, kostas.

    Sounds like your source file is in the wrong directory. The directory the file's in has to match the package.

  • Rogers can't add a US roaming package 'due to a setting in my Torch 9800" help!

    I have had my Torch 9800 for a couple of years and each time I go to the US I was able to text them a message and buy the US roaming package - I now get an error message SMSWS-101. I phoned Rogers and they cant add the US roaming minutes either - said its a setting in my phone! Our corporate IT that run our BES server say its not them, as they dont use any policies .This all happened after the BB software upgrade earlier this year. Maybe some setting deep in the OS has got corrupted or changed!. Any help will be appreciated - as I will be travelling to the US this weekend!

    I'm not aware of any setting ON the hardware itself for that.
    I suggest you get your BES Admin and Rogers to collaborate on this... quickly. Likely a Rogers problem.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How to add Registry Settings to GPO with Apply once property

    Hi,
    I am using the Set-GPRegistryValue command in PowerShell add a number of registry entries into my GPO, I would like to configure these so that they are applied only once for each user.
    The Group Policy Management Editor allows me to configure this setting from the Common tab using the option "Apply once and do not reapply" but I would like to configured this using power Shell instead.  Can any one help, I cant fid an option
    to set this using Set-GPRegistryValue.
    Thanks

    Wrong command.
    Use Set-GPPrefRegistryValue with the Action parameter "Create" to apply once.
    http://technet.microsoft.com/en-us/library/ee461036.aspx
    ¯\_(ツ)_/¯

  • [SOLVED] repo-add replaces newer version package with old ones

    Say I have two versions of nspr.
    $ ls -1 nspr*.pkg.tar.xz
    nspr-4.10-2-x86_64.pkg.tar.xz
    nspr-4.9.6-1-x86_64.pkg.tar.xz
    When I run repo-add on both of them, version 4.9.6 will be the one remaining in the database.
    $ repo-add custom.db.tar.gz nspr*.pkg.tar.xz
    ==> Extracting database to a temporary location...
    ==> Adding package 'nspr-4.10-2-x86_64.pkg.tar.xz'
    -> Computing checksums...
    -> Removing existing entry 'nspr-4.9.6-1'...
    -> Creating 'desc' db entry...
    -> Creating 'depends' db entry...
    ==> Adding package 'nspr-4.9.6-1-x86_64.pkg.tar.xz'
    -> Computing checksums...
    -> Removing existing entry 'nspr-4.10-2'...
    -> Creating 'desc' db entry...
    -> Creating 'depends' db entry...
    ==> Creating updated database file 'custom.db.tar.gz'
    I think here the natural order should be used, something like
    $ repo-add custom.db.tar.gz $(ls -v nspr*.pkg.tar.xz)
    as this is the expected behaviour from most users.
    Last edited by luran (2013-10-07 23:43:21)

    karol wrote:When only one version of a package will ever be present in the db, why try adding more? Just pass the version you want. You can use 'ls -v' if you prefer, but I think it's the shell's interpretation of the wildcard and not repo-add to blame.
    Thanks for your reply. Now I agree repo-add should just process the files according to the order given by the shell.
    To anwser your question, I need to make a local repository regularly to be shared with my other machine, because I have a very limited Internet quota and the sharing roughly halves the downloads. Usally I just use the wildcard for all the packages in the cache, and it works fine as long as the package version does not jump to 10+ like the above example. 'ls -v' will do the job for me. Cleaning the old packages could be another option, but occasionally I need to revert some package back to an old version.

Maybe you are looking for

  • TS1591 If I am unable to restore my IPad, what next?

    The battery on my IPad dropped quickly to 1% from 5% AFTER I had put it on charge - it then flicked betwen my password screen and the Apple logo.  I left it overnight and by morning I had the 'connect to ITunes to restore' symbols and message - I con

  • Config Sample Adapter as SENDER & RECEIVER

    Hi there! I have a problem when I try to use the sample adapter as sender and receiver. If I use it only as receiver and the sender is the fileAdapter it works fine... The sample adapter is deployed, it's metaData is imported. But it is only able to

  • Mystery of the Disappearing Custom Icons

    iMac 2.66; 10.6.4 I create simple custom icon labels for the docs & folders in my dock. I type a filename in TextEdit, take a screenshot of it, open the screenshot in GraphicConverter, and copy & paste it into the getinfo window of the doc or folder.

  • ActiveX Component Can't Create Object - Access 2010

    I hadn't used Access in a few months, and when I did, it decided to reinstall itself.  All other MicroSoft Office software is running fine.  I went to open my file and it gave me the runtime 429 error with the statement shown above.  When I use Debug

  • How to invoke HTTP Web Services in an Adobe Interactive Form

    Hi all, I am using Adobe Livecycle Designer stand-alone (without Netweaver integration), currently a trial 8.2 version. I need to invoke an HTTP Web Service (non-SOAP) in an Adobe Interactive Form. The Net.HTTP method does not work due to security re