WiX and the MStudioDAQmx.2012 merge module

I use Visual Studio 2012 + OR-DAQmx 9.7.5 (and tried 9.7.0 before that) and create an installation program that includes the required merge modules MStudioDAQmx.2012.msm, MStudioCommon.2012.msm dependence (and Visual Studio C++ runtime) using WiX.

My problem is that the files contained in MStudioCommon.2012.msm seem to be installed in the GAC, where they belong, but the two files contained in MStudioDAQmx.2012.msm are copied to a folder "Module Retargetable Folder" in the installation directory - and that's where that in my humble OPINION, they do not part. The difference between MStudioCommon.2012.msm and MStudioDAQmx.2012.msm is that, although both contain a custom action that rewrote the MergeRedirectFolder in a GAC folder,

MStudioCommon.2012.msm:

CA_RetargetDir.1C9B2EB5_9E34_4944_BA92_B30CCA4E9205 51 MergeRedirectFolder.1C9B2EB5_9E34_4944_BA92_B30CCA4E9205 [GAC.1C9B2EB5_9E34_4944_BA92_B30CCA4E9205]

MStudioDAQmx.2012.msm:

CA_RetargetDir.58D97DB1_77E6_476E_9B14_C9529BFA6F94 51 MergeRedirectFolder.58D97DB1_77E6_476E_9B14_C9529BFA6F94 [GAC.58D97DB1_77E6_476E_9B14_C9529BFA6F94]

Only MStudioCommon.2012.msm contains such a directory (GAC.1C9B2EB5_9E34_4944_BA92_B30CCA4E9205) in the directory table.

MergeRedirectFolder.1C9B2EB5_9E34_4944_BA92_B30CCA4E9205 TARGETDIR tdf6yy0s | Module Retargetable Folder
Boziguka GAC.1C9B2EB5_9E34_4944_BA92_B30CCA4E9205 TARGETDIR. Global Assembly Cache
SourceDir TARGETDIR

MStudioDAQmx.2012.msm missing such an entry.

MergeRedirectFolder.58D97DB1_77E6_476E_9B14_C9529BFA6F94 TARGETDIR tdf6yy0s | Module Retargetable Folder
SourceDir TARGETDIR

Is this the reason why the two files are installed in the wrong directory or I do something wrong? The corresponding parts of the WXS files are:

...



...

...


     


    

     
     

...

I searched the web for two days, but may not know what is my mistake. Any help is appreciated.

... to answer me. That may help someone else:

I had a look at the example of "Deployment" in the evaluation version of measurement Studio 2013.

(1.) the MStudioCommon merge module * appears to be identical to the NOR-DAQmx and the Measurement Studio 2013. The example of "Deployment" of the Measurement Studio also works in the case of the merge module NI_DAQmx MStudioCommon *.

(2.) the following fragment sets the merge module MStudioDAQmx * in the installation directory. I'm not 100% sure if the two additional ConfigurationData lines are needed or not. It works, and I didn't want to delete the two lines. Feel free to try.


    

      
      
      
        
        
        
        
        
      
      

      
      
      
        
        
        
        
        
      
      

    

    
      
      

      
      
        
        
      
        
        
      
    
  

more


in the of the product.

3.), it would be awesome if NEITHER could also ship an example with NOR-DAQmx drivers.

See you soon

Stephan

Tags: NI Software

Similar Questions

  • WiX Installer Measurement Studio merge modules

    Is there a tutorial somewhere on how to create a WiX Installer for a Measurement Studio application similar to the http://digital.ni.com/public.nsf/allkb/ED87C183E056CAC386256DF1004E54C6Knowledge Base article? I have an application Measurement Studio c# which I am creating a WiX Installer for and I have problems to get the measurement of inside studio merge modules. I get errors ICE30. I'm using WiX 3.0.

    Hi d_sdl,

    Our merge modules should work in WiX, as I have tested this several times. When you say that you have found ICE30, that fails your build? As you probably already know, one of the nice features of WiX is that you can set a flag so that whenever WiX compiles and links your source, it works ICES on them. This allows you to catch problems early in your development process. I guess you do is put the WiX linker fails if ICE warnings/errors are thrown. You can configure WiX for actions based on ICES advice you get. What is important is that you can turn off this setting, but it depends on how you are nvoking WiX (i.e. through NAnt, MSBuild, Votive, etc.). In any case, there are different ways to disable this option. What I would say is to disable the option, or be specific about which ICES to ignore. This decision would be to the you. The key is to understand what actually means ICES and determine if they are legitimate questions.

    ICE30 can indicate a variety of different things, but a common reason corresponds to the entries of the SFN. Some of our merge modules are always generated through Visual Studio deployment projects and VS created RFU very well. Thus, you're left with SFN entries duplicated in the MSM. Long file names are different, but the short file names are the same. WiX does this correctly which is nice, but unfortunately we can't convert some of these modules more MSM because of VS restrictions and limitations, that we found. It would be nice if better RFU created VS.

    Attached is a zip file that contains two projects that are:

    • C# project that produces the binary file that the Setup program will install
    • Project of WiX that creates the MSI file

    First, be sure to build the c# project. I tested the MSI that result, and it works very well on a target system.

    Note If you want to load the wix project, you must have the final version of Votive on your system.

    Best regards

  • NI Service Update: updates and Service Packs: LabVIEW FPGA Module Xilinx Tools 10.1 2012

    Hello

    I downloaded / installed the latest 2012 LV - everythin fine so far (his grand )

    OR-Update Service proposed the installation of a service pack - download and installation worked too.

    NOR-US also suggested to update the tools for FPGA from Xilinx module, but the download does not work. It looks that the download link is broken?

    Any suggestions?

    Another interesting question: I live in Austria (German), but we use Windows & LV entirely in English in our society. NOR-United States however is highly localized - even the description of the object is in German. While it is OK for me, I still wonder if I could change it to English too.

    (for the attachment: "Fehler beim Herunterl...) ("-"unable to download"online)

    -Benjamin


  • I have a Macbook Pro (13 - inch, Mid 2012), processor 2.5 GHz Intel Core i5, memory 4 GB 1600 MHz DDR3 and the serial number C1MK12K6DTY3. On the Pages, Numbers and Keynote, y at - it any other way to get them for free?

    I have a Macbook Pro (13 - inch, Mid 2012), processor 2.5 GHz Intel Core i5, memory 4 GB 1600 MHz DDR3 and the serial number C1 * TY3. On the Pages, Numbers and Keynote, y at - it any other way to get them for free?

    < personal information under the direction of the host >

    Only when you buy a new Mac. Since the end of 2013 the app came with the purchase of a Mac.

  • I have two APPLE ID can I delete one. It has my old address of e-mail as user name and the other has my new email address. Can I merge these two accounts, or delete one?

    Hello

    I find that I over time to two t accounts APPLE ID. I now want to use iCloud on my Windows PC and the link to my iPhone via the iCloud.

    My OLD APPLE ID has 50MBs of storage

    but my new APPLE ID has only 5 MB (FREE allocation). I managed to put in place the iCloud on my PC with the new ID that has no storage capacity.

    How to pass the correct ID?

    Facts

    1 Apple does not merge the ID's

    2. applications that you have purchased (including free ones) are always related to the ID and non-transferable

    It may be preferable for you to bind these id s using the family sharing

    3 new Apple ID come with 5 Gstorage B not MB

  • The module and the page host check repeats whenever I open Firefox 13.0

    I have recently installed FF13.0. My homepage is on: vacuum. Everytime I open FF, the auditor of computability module runs then when FF finally opens, it shows a welcome instead of a blank page. How can I fix it?

    You can try to reset firefox and see if that makes a difference (bookmarks and passwords will be kept)

    Firefox - modules to reset and refresh settings

  • someone just told me that all the retina 2012 and new mbp "are discs SSD. is that correct?

    someone told me that the retina of the mbp all 2012 and later are SSDS. is that correct?

    Yes, it's true.  Systems of the retina are thinner, lighter.  No optical drive and the RAM is soldered to the logic board.  Not designed to be opened by ordinary users like you and me... opening can cancel the warranty and Apple to give an excuse to refuse any repairs.

    The SSD in the systems of the retina are focused on the map (search for mSATA and M2 format SSD.  Apple uses a special interface protocol for its SSD-card so you can't buy just everything-old-drive in off the shelf to use for the upgrade.

  • Custom hardware and the module of ARM

    Hello world

    Our company is in the early stages of designing a custom measuring device. In the past we used Microchip microcontrollers (PIC16 and 18), a simple IDE and a C compiler, but for the new generation of devices we will use microcontrollers from Luminary Micro ARM. Since we are also users of LabVIEW, the choice for the LabVIEW embedded module for ARM seems logical. I read a lot of documentation OR and watched the tutorials, but I'm still uncertain on what we may or may not do with the module. Until we buy eval kits and the module, I need to have some facts.

    1. The 'heart' of our circuit is a microcontroller LM3S1968, this MCU is ARM Cortex-M3 based. It is listed in Keil device database (http://www.keil.com/dd/), then is also a LabVIEW "Tier 1" - peripheral (http://zone.ni.com/devzone/cda/tut/p/id/7066)? ".
    2. What I have to add the MCU manually to the project as described in http://zone.ni.com/devzone/cda/tut/p/id/7152, or can I just it select from a menu?
    3. We already have a LM3S1968 evaluation kit (http://www.luminarymicro.com/products/lm3s1968_evaluation_kits.html) and a programming JTAG device. We can use these hardware components to evaluate the LabVIEW ARM module or should I buy a complete kit of NOR (including the dev board)?
    4. Is a JTAG connector on our device and a connection for a JTAG debugger, all I need for debugging the device with LabVIEW?
    5. Assessment OR (http://sine.ni.com/nips/cds/view/p/lang/en/nid/205040) kit includes JTAG Keil ULink2 adapter on the photo?
    6. We want to connect the MCU to a converter A/D, the AD7738 of Analog Devices (http://www.analog.com/en/analog-to-digital-converters/ad-converters/ad7738/products/product.html). We will use the SPI bus for communication and I know what codes to send to get a basic reading. What I need to use the SPI-Subvi and send the hex codes or can I use a Subvi 'AD7738' built-in device drivers CD?

    I apologize in advance for the number of questions, it's just that the use of LabVIEW for the development of material is completely new to me

    Thanks in advance for your help.

    Paul

    Hello Paul!

    I'll try to answer your questions and I hope someone else can add more information if necessary.

    1. The 'heart' of our circuit is a microcontroller LM3S1968, this MCU is ARM Cortex-M3 based. It is listed in Keil device database (http://www.keil.com/dd/), then is also a LabVIEW "Tier 1" - peripheral (http://zone.ni.com/devzone/cda/tut/p/id/7066)? ".

    Answer: no, that would be a level 2 device, we now offer three level 1 devices and information on these can be found on the link you condition.

    1. What I have to add the MCU manually to the project as described in http://zone.ni.com/devzone/cda/tut/p/id/7152, or can I just it select from a menu?

    Answer: you need to add yourself as described in the link you provided.

    1. We already have a LM3S1968 evaluation kit (http://www.luminarymicro.com/products/lm3s1968_evaluation_kits.html) and a programming JTAG device. We can use these hardware components to evaluate the LabVIEW ARM module or should I buy a complete kit of NOR (including the dev board)?

    Answer: is trickier, LV Module Embedded for ARM in trial mode will have some limitations (size applications, can open the development environment for a number of days and so on), but it should not have limits when it comes to other targets as described in the links that you have already provided. When it comes to the JTAG interface, I would recommend using the Keil ULINK2 USB-JTAG.

    1. Is a JTAG connector on our device and a connection for a JTAG debugger, all I need for debugging the device with LabVIEW?

    Answer: I would like to make use of the Keil ULINK2 USB-JTAG Adapter for debugging and allows us to download the code on the target. In fact, it's the only way we can download code on the ARM, but we can use a serial port / TCP in addition to JTAG debugging.

    1. Assessment OR (http://sine.ni.com/nips/cds/view/p/lang/en/nid/205040) kit includes JTAG Keil ULink2 adapter on the photo?

    Answer: Yes.

    1. We want to connect the MCU to a converter A/D, the AD7738 of Analog Devices (http://www.analog.com/en/analog-to-digital-converters/ad-converters/ad7738/products/product.html). We will use the SPI bus for communication and I know what codes to send to get a basic reading. What I need to use the SPI-Subvi and send the hex codes or can I use a Subvi 'AD7738' built-in device drivers CD?

    Answer: I/O could be implemented using the basic IO layer provide us as described here:

    http://zone.NI.com/DevZone/CDA/tut/p/ID/7119

    http://zone.NI.com/DevZone/CDA/tut/p/ID/7144

    I hope this helps!

  • Several acquisition module and the error

    Let me start by saying: this is the first written time code to communicate with the DAQ hardware and I'm learning.  I develop a test bed that will have different inputs and outputs listed below:

    cDAQ 9172:

    Mod1: NOR-9211 (4 Thermocouples)

    Mod2: NOR-9211 (3 Thermocouples)

    Mod3: Not currently used

    Mod4:-OR-9201 (flow 6 sensors)

    Mod5: NOR-9201 (5 pressure sensors)

    Mod6: NOR-9481 (4 relays)

    Mod7: NOR-9481 (3 relays)

    Mod8: NOR-9401 (2 float switches)

    Of after a suggestion of a more experienced colleague, I was going to have an another while loop for each type of module running in parallel from my main program.  For loops, I do a "Create Channel" and then "Start Task" as a setting the clock before entering all loop.  I started to do that with the switch float (DI) and the 1 loop for each fo relay cards (DO) and then 1 loop for the 7 thermocouples (HAVE).  That all ran fine with values update as needed and I could control all relays.  When I then added the next loop to read in pressure sensors, I get an error in 'Start the task' for loop making the entrance of thermocouple, saying that the resource is reserved.  I don't know what is the cause, the task name is unique to each loop and that they acquire signals from different modules.  My method works?  Do I need to have just a single loop for all modules?  I don't know how I would do a loop when I have so many different types of data.  I can add screenshots later if needed, I'm not near this workstation currently and it is not connected to the internet.

    Here is a knowledge base that gives a way how to do this

    .. .but really, it's all is creating a 'task DAQmx' and then passing this task to several "Create Channel XX" live (tasks are composed of one or more channels).  It is more readable if you call 'Create DAQmx Task.vi' and then use the task as an input for each of your 'XX.vi create channel' live it was you can even name your task 'Task My AI' and then it's easier to debug.

    Just for the record, the knowledge base does not call to 'Create a task DAQmx' explicitly as the first 'Create channel XX.vi' will implicitly do it for him.

  • I would take my existing Server 2008 and upgrade to Server 2012 and the purchase of a virtual server in a data center

    Original title:

    Virtualization server 2012

    I got too many answers to this question. I need the correct answer before buying any CALs galore.

    I would take my existing Server 2008 and upgrade to Server 2012 and the purchase of a virtual server in a data center. I have 25 computers that need to communicate with the server throughout the day, all the different machines. I want to know the best option without breaking the Bank. I permit the data center included in the package to my server.

    Try asking in the Windows Server forum:
    http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer

  • Relay control using cRIO LabVIEW and the NI 9472 c series module

    Hi all

    I try to get my program to run so far without success, and need help.

    I use the compact rio with the program on labVIEW and the NI 9472 digital output module. I enclose my VI.

    Basically, it's a test program to run an algorithm at a time. If I use a solid state format to get a time warp that dictates, time of execution of the algorithm. The operation by default, I put is for when the time channel produced a fake.

    Question 1: The problem I have is that even if the time string is true, as it does not run. It remains in State sending false so only of false signals to my relay (which is represented by the round LED - relay switch a solenoid on and outside).

    Question 2: If I can get 1 problem solved, the next step I have will be executing the same algorithm, but for more than a State of time. For example. "06:00" run algorithm. I want this algorithm to keep running as long as he sends signals REAL (which means the solenoid valve remains open until a WRONG signal). Then he will run again to say '08:00 ', execute the algorithm as long as he sends signals REAL and so on...

    In summary -.

    -I want to order a relay (which controls a solenoid)

    -L' use of components listed above

    -With the help of semiconductor in labVIEW (VI attached)

    -At different times, the execution of the algorithm UNTIL sends the WRONG signal and then return to the default state, which means that his waiting until the time channel product TRUE.

    Any help would be appreciated.

    Kind regards

    William

    something like that...

  • Parts of our software will disappear and then when it is closed, we get the usual "software encounterd a problem and needs to close" and the faulitng module error

    original title: problem with shdocvw.dll

    Hey guys just a quick question.

    bascailly, I'm working on the first line of support for a company and we have created a software for the United Kingdom NHS, basically our software is used by doctor general practitioner through the United Kingdom to read documents electronically.

    a question we seem to become much lately is certain parts of our software will disappear and then when it is closed, we get the usual "software encounterd a problem and needs to close" and the module faulitng error. When event viewer is selected the below appears.

    Failing application dme7_client.exe, version 7.1.0.270, failing module shdocvw.dll, version 6.0.2900.6212, address 0x000b26fe failure

    It seems that the only way to solve this problem is the newspaper on a differnet and use them as seems to be the specific user. does anyone have any ideas of what we can try to solve this problem without obiously the user with a different account?

    see you soon

    Hello

    Your question of Windows is more complex than what is generally answered in the Microsoft Answers forums. Appropriate in the MSDN forums. Please post your question in the MSDN forums.

    You can follow the link below to ask your question:
    http://social.msdn.Microsoft.com/forums/en-us/categories

    I hope that helps!

  • We moved and we lost the record to go with the microsoft download number modules to our new computer and it will not let us download micro Word &#62; how do we get this registration?

    We moved and we lost the record to go with the microsoft download number modules to our new computer and it will not let us download micro Word > how do we get this registration?

    Unfortunately, if you have lost the product keys for Microsoft software, you will need to buy new software.  Visit the Microsoft store on genuine Microsoft software.

  • Error: 0xc0000005, installer of Windows modules stopped working and the launch failed password

    Original title: Hello,.

    my Dell computer is running the following errors: 0xc0000005, modules Installer Windows stopped working and the Word failed to launch. I need help with this.  My system is Vista Home. Thank you.

    Hello Ewazn,

    ·         You get this error message only when you launch Microsoft Office applications or launch any application?

    You can view the article in the Microsoft Knowledge Base and check if it helps.

    How to troubleshoot issues that may occur when you install, uninstall, or upgrade one program on a Windows computer

    http://support.Microsoft.com/kb/2438651

    Please elaborate on the question so that we can help you in a better way.

  • HP 4520: Eprint and all in a print module won't let me pick the paper size I want to print 5 x 7

    EPrint and all in a print module doesn't let me choose 5 x 7.

    Hello

    Are you referring to the eprint & all in one apps for android?

    Please make sure you have the right selected and that all other paper size and paper type settings are correct.

    Another option is to download the plugin from HP for android (you must also enable it in Settings download afte) and try to print that way. Once downloaded and activated, you should have the ability to print photos directly without going through the applications.

Maybe you are looking for