Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2007
    Posts
    3

    Grin Pop-up for uninstallation

    Hello,

    I am using Setup Factory 7.0.6.1. My case deals with popping up an uninstall alert options box.

    OBJECTIVE:
    =========

    If I install my s/w the second time on a computer where in actually, the same product is currently and already installed, then I must get a warning msg or alert stating that this product "XXXX" is already existing on this computer. Do u want to uninstall it ??

    I have written some programming code in the "ON STARTUP" install section and ""ON POSTINSTALL" section, but am not able to get this done. My product name is: "XXXX". I have also attched a zip file containing the XXXX.exe installation file and the actual .SF7 project file.
    Please check it out.

    I have also simmultaneously opened a support ticket, too, for faster response.
    Somebody please assist me.

    Sincerely,
    Mark Crove
    Attached Files

  2. #2
    Join Date
    Jan 2002
    Location
    Nashville TN
    Posts
    328
    I did not look at your code but (dont have time right this moment) But you should be able to simply check the registry.

    Code:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
    Adding XXXX product name you should be able check if your program is installed or not there is a Registry.Doesexist action in SF7.

  3. #3
    Join Date
    Apr 2007
    Posts
    3
    Hi Jason,

    I gr8tly appreciate ur willingness to help me.

    I have used the Registry.DoesExits( ) method in my code in the ON STARTUP install action.

    I think, if u would probably get some time to check the code, you could probably modify my code to fix this issue.

    Awaiting for ur reply....

  4. #4
    Join Date
    Jan 2002
    Location
    Nashville TN
    Posts
    328
    Change line 38:

    OLD line
    Code:
    local strUninstallString = Registry.GetValue(HKEY_CURRENT_USER,strKeyName,"UninstallString");
    New Line
    Code:
    local strUninstallString = Registry.GetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\XXXX1.0", "UninstallString");
    The orginal key it was reading from did not exist.
    Attached Files

  5. #5
    Join Date
    Apr 2007
    Posts
    3

    Smile Case Resolved

    Thanks a lot Jason. U realy helped me when i required it the most and at the right time.

    I found out also that the vesion number matters in that special line of urs.

    This case has been successfuly solved now.
    Once again Thanks....

Similar Threads

  1. pop up window with calendar plug in?
    By patrick6 in forum AutoPlay Media Studio 5.0
    Replies: 1
    Last Post: 05-17-2008, 07:44 AM
  2. Pop Up
    By hildedragon in forum AutoPlay Media Studio 6.0
    Replies: 0
    Last Post: 12-04-2006, 06:27 AM
  3. Pop Up Window "Restart Needed"
    By Elleah in forum TrueUpdate 2.0
    Replies: 11
    Last Post: 06-06-2005, 07:03 AM
  4. Slow pop up?
    By PeLLaRaS in forum AutoPlay Media Studio 4.0
    Replies: 0
    Last Post: 09-09-2002, 05:28 AM
  5. Image Pop up
    By AVGuru1 in forum AutoPlay Menu Studio 3.0
    Replies: 1
    Last Post: 09-26-2000, 08:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts