Help writing a program that uses Add/Remove programs

Hey everyone,
I'm trying to create a program that will utilize add/remove programs to repair an installation of a program. Specifically I'm trying to write something that will help automate repairs of QuickBooks installations. I've tried using Filemon to figure out what executables I might need to call and I've searched high and low in the forums and Google for help but I'm not getting anywhere. Is there some sample code out there that shows you how to work with the Add/remove programs screen and the programs in it?
Thank you for any help you all can provide me.

[email protected] wrote:
It might be possible if you use the JNI, ** ouch ** That's going to hurt.
but more than likely, Java is a poor choice for the program that you're trying to write.I'll second that. You might want to try C# if you want to write a more Windows-centric program. Its syntax is extremely similar to Java's (I wouldn't say that it was ripped-off of Java, but you could say that probably and not be wrong). But it is a powerful language with a rich library and would interact with the Windows libraries much more readily than java would.

Similar Messages

  • Remove labview 2009 without using add/remove program

    Hi all,
    I have problem with removing LabVIEW 2009.
    I have deleted some folders in C drive, NI folder.
    Now I can't run my LabVIEW 2009 and it doesn't show up in my add/remove program list.
    I tried to delete all folder and files in C drive under NI folder, but error message pop out shows that I do not have the authority to do so.
    So, how can I remove it completely ?
    I intended to reinstall LabVIEW 2009 after I have removed it completely.
    Appreciate your help very much.
    Solved!
    Go to Solution.

    That is why I say try to reinstall LabVIEW. It might just do a repair of your installation. Then you can use add/remove programs to completely uninstall it.
    But when you completely uninstall it there will be NI folders remaining. These are things like user.lib.
    Have you tried to reinstall the runtime engine?
    One last thing. I don't know how you got your install so messed up but remember that if you build an installer you should not install that onto a system with the development environment. There are so many things that can go wrong.
    =====================
    LabVIEW 2012

  • ITunes 10.5.2 failed on my Windows XP system.  Now my phone is not recognized.  I tried installing manually.  I tried to repair using Add/Remove programs.  Still get errors.

    Attempted update to iTunes 10.5.2 failed on my Windows XP system.  Now my phone is not recognized.  I tried installing manually.  I tried to repair using Add/Remove programs.  Still get errors.

    Try doing it in a WIndows Safe mode - Restart computer and hit F8 key right after your see BIOS check and choose "Safe mode with networking"
    Do the SFC /SCANNOW again.
    If that does not work, whilst in safe mode, download Free Malwarebyte software from CNET's Download.com.  Install, update virus definition then perform a full scan.  Remove if it did find some viruses or trojans.  Restart computer.
    Back to regular windows, do the SFC /SCANNOW again.
    If that doesnot work, check to see if your Hard drive has errors or bad sectors
    GO START BUTTON /COMPUTER, right mouse click OS (C:) and choose "Properties"
    Choose "Tools" tab and under error checking, click "Check Now".
    Make sure "Scan for and attempt recovery of bad sectors" is checked and click start.
    Restart windows will perform the above task to fix errors  This may take hours depends on how big is your Hard Drive
    Good Luck!!.

  • I cannot remove 4.0.1 after upgrading to 5.0.1 using Add/Remove programs

    I have windows XP. I have downloaded ver.5.0.1 and when I tried to Remove ver.4.0.1 using Windows Add/Remove it would not do it.

    Without more information, I have to say it sounds like the phone you have was not legitimately unlocked, but had been hacked. Updating iOS will re-lock it to the original carrier.
    ONLY the carrier it is locked to can authorize unlocking it.
    Where did you get the phone?

  • I need to help writing a constructor that uses an array of pointers to a class.

    Please take a look at the following code:
    class Course{
    public:
    // Default Constructor.
    Course(char *CourseName = "", char *instructor = "", char *semesterYr = "");
    protected:
    char *CourseName;
    char *instructor;
    char *semesterYr;
    ****The Course class provides information about a particualr course****
    class Student : public Course{
    public:
    // Constructor.
    Student(char *StudentName = "", char *SS = "", char CourseGrade = ' ',
    char *CourseName = "", char *instructorName = "", char *SemesterYr
    = "");
    protected:
    char *StudentName;
    char *SS;
    char CourseGrade;
    static i
    nt NumStudentObj;
    ***The Student class provides information about a particular student***
    AND FINALLY THE CLASS IN QUESTION!!!!!!!
    class CStats : public Course{
    public:
    // Constructor,
    CStats(Student *StudentArray[]);
    private:
    int NumberOfStudents;
    char CourseGradeAverage;
    I need to pass an array of pointers to a Student class to the CStat constructor.
    Since the Student class has inhertied data members of Course class, passing
    a pointer to a Student object will be more sufficient. This constructor should
    also print out the information contained in the Course & Student data members.
    My instructor stated that I can use array or pointer notation.
    How would I setup this function so that it outputs information stored in
    the data members ?
    **NOTE**
    Information like the StudentName , SS#, and CourseGrade will be entered from
    my main() source file.
    Thanks in advance,
    eejay

    eejay,
    If you haven't already done so, you may wish to consider posting your question to some newsgroups that deal with C++ specific questions. You may wish to try the following groups:
    comp.lang.c++
    alt.comp.lang.learn.c-c++
    Based on the traffic in those groups, you may be able to get an answer to your question in a short amount of time.
    Good luck!
    Regards,
    Wilbur Shen
    Web Support and Operations
    National Instruments

  • How to uninstall NI drivers that are not removable via "Add/Remove Programs"?

    Hi,
    I am trying to uninstall older versions of NI MAX and DAQ drivers via "Add/Remove Programs" in Control Panels on a Win2000 test PC, but nothing happen when the "Remove" button is pressed. The same issue does not happen with any other drivers or applications installed on the same test PC. These two drivers might have been installed improperly before. Please advise how I can uninstall them without using "Add/Remove Programs"? Thank you very much for your help.
    Valen

    Hello LA,
    The window that I have is different from the one you posted. Please see attached for mine. When I clicked on REMOVE, a message popped up and disappeared within a couple seconds. And the message is as following: "The installer is verifying the installation, please do not reboot while this dialog is being display." This same message popped up every time REMOVE is clicked but I have no luck on removing MAX.
    This test PC is for legacy testing and it was with Windows 98 and have an ISA DAQ card installed that requires DAQ driver 6.9.3. Can upgrading the test PC to Windows 2000 corrupt the installation?
    Looking forward for your advice. Thank you.
    Valen
    Attachments:
    Add Remove Programs.doc ‏57 KB

  • How to remove old NI Imaq if it is not in add remove programs

    I am upgrading from 6i to 8.o fo rlabview and vision development module.
    I need to remove my old IMQ before the new one will install.  It is not listed in my add/remove programs.  How do I remove it?

    Hi rscconrad,
    IMAQ 2.5.1 was a subcomponent of the LabVIEW installation and will reinstalling LabVIEW to remove the component. 
    Uninstall LabVIEW 6.x using Add/Remove Programs. This will remove the previous version of IMAQ.
    Install LabVIEW 6.x (or if possible, just install LabVIEW 8.0).  You will need to customize the 6.x installation so that IMAQ 2.5.x is not installed.
    Proceed with your upgrade.
    I hope this works for you.
    Regards,
    RyanF
    Message Edited by RyanF on 01-26-2006 02:07 PM

  • Windows 2000 prof. I noticed that I have both versions 3.6 and 6.02 installed when i checked the this in the add/remove program in the control panel. Can i remove the v3.6?

    I have windows 2000 professional operating system version 5.0.2195 service pack 4 build 2195. I usually logged on as "user1". When i clicked on firefox it will try to install update but will return a message that update cannot be installed "please make sure that there are no other copies of firefox running on your computer". But there are no other copies of firefox running.
    I checked the add/remove program in the control panel and found out that I have ver3.6.10 and ver6.0.2 installed.
    Can i remove the ver3.6.10 using the uninstall button in the add/remove program?
    Another problem is that I cannot logged in as "administrator".
    When i logged in as "administrator" the computer just shut down and restart by itself while loading my desktop icons.

    The normal method is simply
    * Help -> Check for Updates
    on Firefox (Window XP)
    * see also [[Updating Firefox]]
    You should be able to delete Firefox and remove it, from your Windows XP control panel although that may not be what you intend.
    If you have doubts about compatibility stay with Firefox3.6 for now.
    Some software extensions will currently have problems with firefox 4 (and that iircc may include some versions of silverlight )
    Do NOT use any delete settings (or whatever it is worded) that will loose all your passwords and bookmarks.
    BTW the safe mode in relation to Firefox is a totally different concept from Windows safe mode, but you probably have no need to use either of them.
    * see also [[Safe Mode]]
    On an ordinary upgrade Firefox will preserve your profile details which include bookmarks any passwords.
    You should have no problems in installing Firefox 4. You should be able to install firefox 4, and retain any bookmarks etc that were used in firefox 3.6, but sometimes extensions may be incompatible.

  • I recently downloade Firefox v6.0 but had to remove it via the Control Panel Add/Remove Program. When I tried to re-install it I keep getting an error messsage that said that I had to reboot to fully remove the previous copy of v6.0.

    I recently downloade Firefox v6.0 but had to remove it via the Control Panel>Add/Remove Program. When I downloaded v6.0 again and tried to re-install it I keep getting an error messsage that said that I had to reboot to fully remove the previous copyof v6.0. However when I did reboot I get the same error message. I'm sort of stuck in a loop and can't figure out how I can re-install v6.0. I am running Windows XP on a Dell Inspiron 9300 laptop.

    Please do the following.
    Click '''Help '''| '''Check For Updates'''. The option to update should appear and version 3.6.17 should download and install.
    However, sometimes things go pear-shaped and you get version 3.5.19. If that happens, repeat the same steps to update to 3.6.17.
    Once you have 3.6.17 installed, you'll get the opportunity to update to the current version which is 4.0.1 ''Please don't do that for the moment because you first of all have to update your plugins''. To do the latter, please do the following.
    Go to http://www.java.com/en/ and install the latest version of Java.
    Update Adobe Shockwave for Director via http://get.adobe.com/shockwave/
    Update Adobe Flash via http://get.adobe.com/flashplayer/
    Update Adobe Reader via http://get.adobe.com/reader/?promoid=BUIGO
    For security details regarding the Adobe updates, see: http://www.adobe.com/support/security/advisories/apsa11-02.html
    Once you've updated all those, go to '''Help '''| '''Check For Updates '''again to update to version 4.0.1

  • Writing java program that uses UMTS service

    Hi
    I wonder if it is possible to write java programs that use UMTS services. Is there any class-package in java related with UMTS services?

    you can call a batch file using NT service. the batch file executes the java program. and you can also send an email thru that java program.

  • Windows App Certification Kit - Test Fails for Validate Desktop App at "Write appropriate Add/Remove Program values"

    Hi,
    I am trying to validate a .Net Framework 4 WinForms application for use in the Microsoft Partner Network portal.
    I am using Windows App Certification Kit 3.4 for Windows 8.1 , and the Validate Desktop App option.
    To build the package I am using InstallShield 2012 SPR Limited Edition (for Visual Studio), and the validation fails
    only with the following error (please also see the attached image):
    Clean reversible install test: Failed to Write appropriate Add/Remove Program values
    Error Found: The registry population test detected the following error: app didn't create the required registry entries.
    A non-optional value 'DisplayName' is missing or invalid (same for 'Publisher', 'ProductVersion')
    Please note that I have filled in all the publisher/product details in the InstallShield project, on the General Information page.
    Also I have tried to use the Microsoft Visual Studio Installer Project for VS2013, and the validation failed with the exact same error.
    (https://visualstudiogallery.msdn.microsoft.com/9abe329c-9bba-44a1-be59-0fbf6151054d)
    Any help would be very appreciated.
    Thank you.

    You may need to add the necessary info to the app’s Windows Installer package so it can configure Add/Remove Programs in Control Panel correctly. Setting these properties automatically writes the corresponding values into the registry. From the picture,
    you are missing some necessary information about your desktop app.
    Also You need the correct admin permissions to write to the registry.
    Please refer to this thread:
    http://stackoverflow.com/questions/21182856/windows-app-certification-kit-test-result-app-didnt-create-the-require-regist
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Old version of firefox in add remove programs

    When I originally installed Firefox on my machines it was Firefox 11 I have updated to the most recent version Firefox 16 but in Add/Remove programs is still shows Version 11. When I do a scan on my network it still shows version 11 on all my machines. This is an issue because I need to know what the users are using. I have given the users the ability to update their FF and thought they were not doing it. Also there is only one install of FF showing in Add/remove programs..I know others have reported the old and the new versions in Add/remove programs

    To confirm what Firefox version is currently installed, see
    *[[Find what version of Firefox you are using]]
    Alternately, go to Firefox Help -> [[Using the Troubleshooting Information page| Troubleshooting Information]] and look under Application Basics for the version number.
    If the only problem is that your Windows Control Panel list of installed programs says that Firefox 11 is installed instead of the actual version, a simple solution might be to simply download the latest Firefox version from mozilla.org (currently 16.0.1) and reinstall Firefox (you can optionally [[Uninstalling Firefox|uninstall Firefox]] first but make sure you do NOT select the "Remove my Firefox personal data" option ... if you do, all of your Firefox bookmarks, passwords, and other profile data and settings will be lost!).
    Ref: [[Basic Troubleshooting]] under "[https://support.mozilla.org/en-US/kb/troubleshoot-and-diagnose-firefox-problems#w_6-reinstall-firefox Reinstall Firefox]"

  • CS4 No longer in Add/Remove Programs

    I installed CS4 Master Collection on my computer and had a lot of problems with it, so I decided to wipe it from my system and start over. This wasn't happening for me as it said the software was damaged.
    I did a bit of research online and found that I could install a file from Adobe called CleanUp, which seemed to work at first, so I checked into the Add/Remove Programs to see if it was still installed. It was in the list, so I thought Adobe CleanUp didn't work so I tried again to uninstall from Add/Remove programs - It just popped up a message saying the software may have been already uninstalled, would I like to remove it from the Add/Remove Programs list, so I selected Yes.
    But after a final check to see if CS4 really had gone, I went into the directory I first installed CS4 to, the files were still there (note: I have a custom install folder other than C:\Program Files, I save software installations to D:\Programs as my HD is partitioned and I use Vista which takes up a lot of space and the C:\ drive hardly has any to begin with, I know I know, but it came like that from the manufacturer).
    So now, I can't uninstall CS4, manually or through Add/Remove Programs. I even tried to install CS4 again to see if it would just write over the current installation, but that wasn't happening for me. If anyone has any ideas or advice what I can do, that'd be great. If there is absolutely no way I can remove it, would deleting the CS4 folder cause any problems, especially as I reverted back to CS2 (the only other CS version I have right now).
    - DawnDesigner

    It's a really mix to remove the CS4, in my personal opinion you probably have two options.
    1. to try to install the suite again a remove it
    2. to manually remove the folder where you install the software and through register remove from the list of add/remove software the unusable entrance for Adobe CS4
    a) run the utility regedit.exe
    b) if I'm not in a mistake it should be localized in HKLM\Software\Microsoft\windows\curren version\uninstall\
      b.1) look arround the name that appear in the hives and just remove such which will be for the adobe CS4
    Take a look also in
    http://support.microsoft.com/kb/247501 and http://support.microsoft.com/kb/314481
    But first than all I recommend try to install again the suite a remove it.
    by the way I hope your experience with Clean Script does not turn in a nightmare like in my case, which after running it, some links to re reference got damage as the help of MS office does not work anymore because xml files is not related to the right program or the starting of software like Windows Defender.
    Good Luck

  • SCCM 2012 Report for Software registered in Add/Remove programs

    Hi
    Am looking to create an SCCM 2012 Report for Software registered in Add/Remove programs on windows 7 machines but dont have enough experience with report builder to do this.
    Was hoping someone could help.

    When i use the url i still only see the following categories
    Administrative Security
    Asset Intelligence
    Client Push
    Client Status
    Compliance and Settings ManagementHave looked through them all and that one is not there
    the only software ones are the following
    Report Software 01A - Summary of installed software in a specific collectionThis report provides a summary of installed software ordered by the number of instances found from inventory.
     Open Menu
    Report Software 02A - Product families for a specific collectionThis report lists the product families and the count of software in the family for a specific collection.
     Open Menu
    Report Software 02B - Product categories for a specific product familyThis report lists the product categories in a specific product family and the count of software within the category. This report is linked to Software 02C - Software in a specific product
    family and category.
     Open Menu
    Report Software 02C - Software in a specific product family and categoryThis report lists all software that is in the specified product family and category. This report is linked to Software 06B - Software by product name.
     Open Menu
    Report Software 02D - Computers with specific software installedThis report lists all computers with specific software installed. This report is linked to Software 02E - Installed software on a specific computer .
     Open Menu
    Report Software 02E - Installed software on a specific computerThis report lists all software installed on a specific computer.
     Open Menu
    Report Software 03A - Uncategorized softwareThis report lists the software that is either categorized as unknown or has no categorization.
     Open Menu
    Report Software 04A - Software configured to automatically run on computersDisplays a list of software configured to automatically run on computers.
     Open Menu
    Report Software 04B - Computers with specific software configured to automatically runDisplays all computers with specific software configured to automatically run.
     Open Menu
    Report Software 04C - Software configured to automatically run on a specific computerDisplays installed software configured to automatically run on a specific computer.
     Open Menu
    Report Software 05A - Browser Helper ObjectsThis report displays the Browser Helper Objects installed on computers in a specific collection.
     Open Menu
    Report Software 05B - Computers with a specific Browser Helper ObjectDisplays all of the computers with a specific Browser Helper Object.
     Open Menu
    Report Software 05C - Browser Helper Objects on a specific computerDisplays all Browser Helper Objects on the specific computer.
     Open Menu
    Report Software 06A - Search for installed softwareThis report provides a summary of installed software ordered by the number of instances based on search criteria for the product name, publisher, or version.
     Open Menu
    Report Software 06B - Software by product nameThis report provides a summary of installed software ordered by the number of instances based on selected Product Name.
     Open Menu
    Report Software 07A - Recently used executable programs by the count of computersThis report displays executable programs that have been used recently with a count of computers on which they have been used. The Software Metering client must be enabled for this
    site to view this report.
     Open Menu
    Report Software 07B - Computers that recently used a specified executable programThis report displays the computers on which a specified executable program has recently been used when you enable the software metering client setting.
     Open Menu
    Report Software 07C - Recently used executable programs on a specified computerThis report displays executables that have been used recently on a specified computer when you enable the software metering client setting.
     Open Menu
    Report Software 08A - Recently used executable programs by the count of usersThis report displays executable programs that have been used recently with a count of users that have most recently used them when you enable the software metering client setting.
     Open Menu
    Report Software 08B - Users that recently used a specified executable programThis report displays the users that have most recently used a specified executable program when you enable the software metering client setting.
     Open Menu
    Report Software 08C - Recently used executable programs by a specified userThis report displays executable programs that have been used recently by a specified user when you enable the software metering client setting.
     Open Menu
    Report Software 09A - Infrequently used softwareThis report displays software titles that have not been used during a specified period of time. You can specify a value that will represent the number of days that have elapsed since the last use (e.g. if you
    enter 90 days, you will see software that was not used in the past 90 days or more). You can also leave the Days not used field empty to see all software titles that were never used.
     Open Menu
    Report Software 09B - Computers with infrequently used software installedThis report displays computers which have software installed that has not been used for a specified period of time. The specified period of time is based on the value specified in the
    'Software 09A - Infrequently used software' report.
     Open Menu
    Report Software 10A - Software titles with specific multiple custom labels definedThis report allows you to view software titles based on matching of all selected custom label criteria. Up to three custom labels can be selected to refine a software title search.
     Open Menu
    Report Software 10B - Computers with a specific custom-labeled software title installedThis report shows all computers in this collection, that have the specified custom-labeled software title installed.
     Open Menu
    Report Software 11A - Software titles with a specific custom label definedThis report allows you to view software titles based on matching of at least one of the selected custom label criteria.
     Open Menu
    Report Software 12A - Software titles without a custom labelThis report displays all software titles that do not have a custom label defined.
     Open Menu
    Report Software 14A - Search for software identification tag enabled softwareThis report provides the count of installed software with a software identification tag enabled.
     Open Menu
    Report Software 14B - Computers with specific software identification tag enabled software installedThis report lists all computers that have installed software with a specific software identification tag enabled.
     Open Menu
    Report Software 14C - Installed software identification tag enabled software on a specific computerThis report lists all installed software with a specific software identification tag enabled on a specific computer.
     Open Menu

  • Uninstall Acrobat 6 without Add/Remove Programs

    Hello,
    I currently have several users still running Acrobat 6 Standard.  I have purchased licenses for Acrobat X to replace these outdated packages, but am trying to automate the uninstall/install.  The program I am using to automate the process requires me to select an application for the removal; I cannot just go through Add/Remove programs.  Most programs have an Uninst.exe (or something to that effect) in the Program Files folder, but I am not seeing that on my systems.  When I go through Control Panel>Add/Remove and click "Change" it brings up what looks like the setup program with the option to remove.  This would work perfectly, but I am unable to find the executable that launches this program.  Can anyone help me locate it?
    Thanks in advance.
    If it matters, I am running XP SP3 on all machines.

    The response has been overwhelming. Thanks

Maybe you are looking for

  • Custom tabular form for multi-row not saving data

    Ok, before anyone asks, yes, I did read the how-to:-) I have a custom tabular form, which I did cause I need to use popups and the popups that you can use in the wizard tabular form does not display the text but rather the value underneath it. It ret

  • 200" viewing limitation in Acrobat/Reader?

    Hi all, I have a diagram which is 220" inches wide. When I open this document in Acrobat/Reader 9.0, it appears blank on the screen. However, when I go to the "View -> Grid" menu option, I am able to see the drawing (even after I turn the "Grid" opti

  • Dataguard - Primary not applying logs to Standby

    Having an issue applying logs to the standby, seemingly it's not setup correctly. I am sure I'm missing something simple here, but would love any input or help. Thanks in advance. Background: Primary: CDPMTSB (Single Stand alone) Standby: CDPMT (RAC)

  • LCD or Plasma?

    Hi, I'm planning on purchasing a TV this hoiday season and am contemplating which type. The room I am planning to use dimly lit and I'm not certain which type (LCD, Plasma, HDTV, etc.) would be best. Your opinions and advice is welcome. Thanks

  • Audio on audiobooks is distorted (too fast). Any way to slow it down?)

    After installin iOS5.0 I downloaded several audiobooks from Audible.com and noted that the audio was too fast. Previously installed books were fine. The distorted books play fine on my iPhone 3GS and on the iTunes on my laptop. Deleted the "bad"audio