How do I create an installer for my project that allows for variable data entry like a server unc path?

Hello All,
I have a questions and a few hours of scouring the internet hasn't brought me much closer to an answer.
Here's what I want to do. I have created a visual c# wpf application. I want to have an installer that during install time will have a text box or something where I can enter a server path as a string. Basically my application needs to know where to look
for a server unc path \\server\somesharedfolder that it will be accessing primarily for its work. Secondly, how do I reference said information from within my code.
I have come across application/user scoped settings, which appears to be what I'm looking for. However I can't find a way to have the installer prompt for a value "Server Path:" __________ that I could type into during installation. So far it appears
the only way would be to edit the config.deploy file before running the installer, which isn't a big deal but you'd think there'd be an easy way to take in variables during install.
EDIT: Apparently I can't edit the config.deploy file as I get an error message about the hash not matching.
Thanks for your help!
Lance

Hello,
The forums I found confusing, didn't know the best place to put this question so I put it here.
I have found the answer over at stackoverflow and will detail here for anyone who may stumble across the same problem.
The problem is ClickOnce seemingly doesn't support this feature. Installshield LE either doesn't or does but its incredibly too complicated if all you need is one variable passed to the registry during installation. And it seems the words used for googling
this particular problem will never lead you to the solution.
So here's how to do it (we will be first adding the Visual Studio Installer Add-on to restore original installer project functionality):
1) Inside of visual studio 2013 go to Tools -> Extensions and Updates
2) On the left-hand side click on Online -> Visual Studio Gallery
3) In the upper-right search box search for "Visual Studio Installer"
4) Download the extension labeled "Microsoft Visual Studio Installer Projects"
5) Install, then open a new project under Templates -> Other Project Templates -> Visual Studio Installer -> Setup Project
6) Now for the gold. In the solution explorer there are icons in a bar just below its title bar, highlight till you see "User Interface Setup" and open it.
7) Now you can right click on Start, Progress, End etc any Category heading and hit Add Dialog.
8) From here for my purposes, I used TextBoxes A
9) Once you add it, click on it and observe its properties window. You will see Label, Property, and Value. Make a note of the property name as it will be used to store the data directly into the registry. *Note: there appears to be no way to perform data
validation using the built in textbox dialogs, users can enter whatever they want and move on.
10) Go to the registry editor on the same icon bar under solution explorer.
11) Specify your registry folder, make a new value (I used string) and name it whatever you like. In the value section enter the property label formatted as such   [EDITA1]   depending on your value. 
12) Now when you run the installer for your project, it will take data into that field and place it into the registry provided it has access to that key with the permissions you run the program under.

Similar Messages

  • How do I create an event driven dialog box that allows the user to input constants into my program?

    My goal is to have a box pop up when the executable for my program is run. The box will have a bunch of fields, and an OK and Cancel button. Ideally, the user will be made to change some of the values, and warnings (with another dialogue box) will pop up if the values are nonsensical, allowing the user to proceed or go back and change them. The constants will be clustered, to be used later in other VIs.
    Does anyone have a good template for this sort of VI? I looked at this article: http://www.ni.com/tutorial/8768/en/, but it doesn't go into enough detail to be helpful to me.

    This should get you started down the pathJust replace User data with your cluster and do the data integrity check in the value change event use a simple one button dialog to notify the user which values are out of compliance and disable and grey the OK button untill all conditions are met.
    Jeff
    Attachments:
    Prompt(Date).vi ‏50 KB

  • Looking for an app that allows for screen switching/maximizing

    On my PC at work, I have an app that adds another button to the top menubar of all applications/windows. This button, when clicked, will move the window/application to the "other" monitor/display and can even maximize the window to fit the screen. is there an app like that for the Mac
    I kinda need this right away - in a bit of a bind.
    Thanks

    What do you use on the PC? would be useful when iTunes and others insist on always going to last monitor, even when it is no longer present.
    Ah... Windows key + Shift + arrow key on Windows.
    Buit right in.
    Most likely utility would be SwitchResX, but some features have been removed.
    Worth giving a try though.
    http://www.madrau.com/functions/sets/sets.html
    http://www.madrau.com/news/history/history.php
    http://www.versiontracker.com/dyn/moreinfo/macosx/15467
    edited

  • How do you create an installer/bundle for PPro with extension, a plugin (export-controller) and some

    Hi
    As my topic says
    How do you create an installer/bundle for PPro with extension, a plugin (export-controller) and some custom presets?
    Assume you have Flash Builder 4.5, CS Extension builder 2.0, Xcode 4.5.1 running under MacOS 10.8.

    I understand why you need updated running headers in your book. To a sighted reader these serve as a guide to where you are and help you find things quickly.  In addition, if you are exporting your data to XML or HTML from the tagged PDF it would also be important to have these in the proper location. 
    But for accessibility purposes, it doesn't have to be there because the screen reader reads everything in linear order, line by line.  No one is looking at the page.  A user listening to the screen reader read the page is going to hear this heading, just before the actual word itself. So they will hear the first word on the page twice.  It's not the end of the world if it's there, but such headings are not necessary for accessibility unless they are not repetitive and contain information that is not otherwise available.
    So I would say, fine if you need them or want them there, it's just one word. 
    I think you should try exporting your book to PDF (or even just a chapter of the book) and look at the tags panel in Acrobat to see if you are getting the result you want.  I can't tell you exactly what you should do to get those results, you are using a plug-in I don't have. 
    I can tell you I didn't have to add the headers to any article at all, they just automatically export if the other articles in the file are added and you don't select the header style option "not for export as XML."
    You may not experience the same results with your plug-in, but I think it will probably work the same way. 
    Give it a try and best of luck.

  • How do I create a Table of Contents in InDesign CS6 for print that easily converts to epub?

    How do I create a Table of Contents in InDesign CS6 for a print book that easily converts to epub? 
    Can anyone point me to a link for a step-by-step (not a video) on setting up all the elements of a print book properly (pages, table of contents and index) so they will convert and reflow perfectly from print to epub in InDesign CS6. This is not about building an ebook from ground up, but taking 50 backlisted print books (converted from old versions of Quark to InDesign) that now need to be converted to epub formats.
    OR could someone point me to the link in the Adobe InDesign CS6 support that explains how to create a Table of Contents for a print book (5.5" x 8.5", 288 pages), one that will convert when the file is converted to ePub (for MAC OSX)?
    Just downloaded the 706 page inDesign CS6 reference manual from Adobe <http://helpx.adobe.com/pdf/indesign_reference.pdf>  but there's not even a search feature on the pdf file.
    Up until this week, we have only done print books, creating the TOC the old fashioned way, as a fixed page, comprised of two columns: page numbers and chapters/subject. The files I have created are taken by our printer and printed beautifully.
    However, when I convert the same book to epub in CS6, the character and paragraph styles converted beautifully - but everything else is all over the place! The table of contents is on different pages, the columns split apart. That goes for the page contents as well - everything is all over the place. when it's converted to a pdf -- total perfection. Never any problems converting with perfection to pdf format and reading those on the various readers.
    (Thank you so much in advance for any help).

    <http://helpx.adobe.com/pdf/indesign_reference.pdf> Adobe Digital Reader does have a search feature for reading pdfs. Found the TOC instructions on page 176 of 706 pages. 

  • How do I create a 4 second long loop that is repeated for say a minute long on garage band, I'm sure it can done, please help

    How do I create a 4 second long loop that is repeated for say a minute long on garage band, I'm sure it can done, please help, I now own a new mac book.

    Rachel Dalby wrote:
    How do I create a 4 second long loop that is repeated for say a minute long
    drag the top right corner of the region for as long as you want it

  • HT4528 how do I create an event in my calander that repeats the second thursday of every month

    how do i create an event in my calander that repeats the second thursday of every month

    This should get you started down the pathJust replace User data with your cluster and do the data integrity check in the value change event use a simple one button dialog to notify the user which values are out of compliance and disable and grey the OK button untill all conditions are met.
    Jeff
    Attachments:
    Prompt(Date).vi ‏50 KB

  • I would like to know how i can create a bell graph with out using sub VIs, the data that i created consists in 500 readings with values of 0 to 100, i calculated the mean value and standard diviation. I hope some one can help me

    I would like to know how i can create a bell graph with out using sub VIs, the data that i created consists in 500 readings with values of 0 to 100, i calculated the mean value and standard diviation. I hope some one can help me

    Here's a quick example I threw together that generates a sort-of-bell-curve shaped data distribution, then performs the binning and plotting.
    -Kevin P.
    Message Edited by Kevin Price on 12-01-2006 02:42 PM
    Attachments:
    Binning example.vi ‏51 KB
    Binning example.png ‏12 KB

  • How do I create new photo albums in iphone? why isn't it organized like in the iPad?

    How do I create new photo albums in iphone? why isn't it organized like in the iPad?

    You can't create new albums on the iPad either. The user interface looks different, but the functionality is essentially the same.
    The route is to create new albums on the desktop, and then sync via iTunes.

  • I mistakenly deleted the files that allowed for the restore last session tab on homepage; how to reinstall?

    I was cleaning up desktop and deleted a firefox file that I didn't recognize....it ended up being the one that allows for opening up the previous session

    I have no idea how/why it was on desktop....and I emptied the recycle bin already! I was just trying to get organized a bit and clean up clutter...but I did use that feature almost daily, as it helped me to just close up the computer in the evening without worrying about getting to all the work the next day, as I would now immediately remember what I was doing!

  • How do I connect multiple users to a project on Sharepoint for collaboration

    I have 2 users working in Robohelp 11.  I have uploaded a project to SharePoint 2010 and it seems to funtion fine with version control.  I would like to connect a second user to that same project on SharePoint so the 2 users can collaborate.  However, I don't see any options in Robohelp that allows for a user to connect to an existing project on sharepoint, only to upload a new project.  Please help.
    Thanks,
    Dan

    On the second PC, go to SharePoint and download the entire project. The easiest way is to open the SharePoint library in Windows Explorer.
    Then open the local copy with RoboHelp. That should be all.
    Kind regards,
    Willam

  • How to guarantee that all the inserted data entries are shipped to the...

    How to guarantee that all the inserted data entries are shipped to the correct Coherence caches?
    I successfully created the table Employees, Address and Phone tables and their conresponding Java Classes. I also finished all the JPA and persistence works. Any updated data can persist to the corresponding database tables. Now I want to create the corresponding Coherence caches for these java objects. I want to know how to guarantee that all the inserted data entries are shipped to the correct Coherence caches? For example, guarantee all the employee data entries are added to the Employees caches and all the address data entries are shipped to the Address caches (do not ship the address data entries to the Phone or Employees caches)?
    Thank you

    qkc wrote:
    How to guarantee that all the inserted data entries are shipped to the correct Coherence caches?
    I successfully created the table Employees, Address and Phone tables and their conresponding Java Classes. I also finished all the JPA and persistence works. Any updated data can persist to the corresponding database tables. Now I want to create the corresponding Coherence caches for these java objects. I want to know how to guarantee that all the inserted data entries are shipped to the correct Coherence caches? For example, guarantee all the employee data entries are added to the Employees caches and all the address data entries are shipped to the Address caches (do not ship the address data entries to the Phone or Employees caches)?
    Thank youWhat persistence architecture are you using?
    - Cache stores with JPA/Toplink cache stores?
    - JPA implementation with Coherence used as a cache provider for the JPA engine?
    - TopLink grid?
    - anything else?
    Until you provide this bit of info, don't expect a meaningful answer...
    Best regards,
    Robert

  • Looking for an iPad(iPad/Mac) app that allows for playlists to migrate to iPad

    I am specifially and exclusively looking for recommendations for an iPad(iPad/Mac) app that allows for my playlists to be migrated to iPad intact and playable.
    iTunes -> Podcast/Music/Videos does not support mixed (music/video/podcast) playlits or video playlist at all. The app(s) should be able to easily create these playlist on the Mac (and manage content) much like iTunes (10).
    On the phone with tech support today and they agree this is missing functionality from Apple. They suggested I reach out on to other users that may have a thrid party solution.

    Requires each device/user have an unique Apple ID(verifiable email address):
    http://itunes.apple.com/us/app/find-my-friends/id466122094?mt=8
    Otherwise you can use Find My Phone, but requires logging in for each separate user. Find My Friends(built by Apple) will show everyone's location on one device.

  • I'm looking for an app that allows me to print checks. Beancounter does not

    I"m looking for an app for MacBook Pro that allows me to print checks for my very small business.
    I purchased Beancounter Por (the upgraded version) and it does a fine job of accounting and updateing
    balance sheets but it does not support printing checks. Does anyone know of an app that
    does?

    You and the iPad can function with the Remote App from across the room, or in another room.
    However, your stereo system has to have a way to communicate or connect with the computer.   Unless it has some kind of wifi connector or has Bluetooth, I don't see how you can do this.
    There is no app or software to resolve this.   You need a way for the stereo to connect.

  • Wiki or Other Software that Allows for Collaborative review of PDFs

    Here is what I am trying to do. I have hundreds of thousands of pages in PDF format that I am in the process of OCRing and creating a full text index. Given the volume of documents, I am going to have a large team going through these documents and adding comments (either on the documents themselves, or on an associated page).
    Does anyone out there know of any good programs for this task?

    My understanding of capture is that it takes the file from the scanner. I only have the PDFs, not the originals. Further, given that the OCRing is basically already done, what I need now is a good program for collaborative review and commenting on these documents. Given the volume of comments, the lack of margin space, and the fact that many of the commenters do not have anything more than Acrobat reader, I think a web program that allows for a traditional wiki experience, linked to the PDFs would be ideal.

Maybe you are looking for

  • Why is my MacBook Pro very slow after installing Mountain Lion 10.8.5. - Solutions?

    Hello, hello After waiting quite a while - I paid the relatively small amount, and got myselves a new OS. But I am very disappointed of the speed - I see that this also was a problem with OS Lion? Please assist me. Perhaps others have this problem as

  • How do I turn off IP Flood Detection?

    I've perused the forums and have concluded in my computer-technically-naive mind that this could lead me to internet bliss...... I have been experiencing excrutiatingly slow or never-loading web pages.    Often, after a couple of minutes of waiting I

  • Moving from directly connected external drive to a network share.

    I've looked around and can't find a page on how to do this. I have an external drive hooked up to my iMac. I am using it for TM backups, so I have this directory on it (Backups.backupdb). There are also 2 sparsebundle images due to 2 other people in

  • Songs not playing in entirty

    I have experieced this for quite some time, and it's really annoying.  Some songs will play about half way through then some other random song will start playing.  The album art, name, etc still show the original song, but it's not that song that's p

  • Swapping from one macbook to another

    HI there My wife's macbook is full, mine is not so we were thinking tayher than buy another, we would swap.  My qusetion is how to I swap the contents of her's onto min and vice versa? I have thought of copying hrad drives onto external and doing tha