Solved How to get Uninstall to enforce Admin Priv?

bumpersticker

New Member
I have an application written in our own scripting language, which includes its own installer, which works fine if run with Admin privilege. We can get Vista to check for admin privilege by naming the image xyz_INSTALL, but how can I get Vista to recognize that Admin privilege is required to UNinstall? If I uninstall from Control Panel without Admin privilege, no warnings appear and the uninstall goes south by not being able to delete its files. I've read about manifest, but it's unclear where a private language would make it visible to Uninstall, or are the registry fields I can set? Thanks.
 

My Computer

My Computer

System One

  • Manufacturer/Model
    Home Grown Desktop
    CPU
    Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
    Motherboard
    ASUS P5B-E
    Memory
    3006 MB
    Graphics card(s)
    NVIDIA GeForce 8400 GS 512MB
    Sound Card
    Motherboard - SoundMax
    Monitor(s) Displays
    ViewSonic VX2235wm / Dell 17" Generic PnP Anolog
    Screen Resolution
    1680 x 1050 x 4294967296 colors / 1024 x 768
    Hard Drives
    3 x ST3250620AS 250GB SATA IDE 1 x WDC WD1200JD-00GBB0 120 GB SATA IDE
    PSU
    Enerrmax 535W All-in-one SLI 20/24+6+
    Case
    Antec Sonata
    Cooling
    Antec 12cm SmartCool
    Mouse
    Logitech MX100 Laser
    Keyboard
    Logitech LX710
    Internet Speed
    Bell Canada DSL 12MBps (supposedly)
    Other Info
    2 x HP Pavilion 9700v Laptops
+1 for Revo
 

My Computer

System One

  • Manufacturer/Model
    Lenovo Thinkpad T400
    CPU
    Intel Mobile Core 2 Duo P8700 @ 2.53GHz
    Motherboard
    LENOVO 64734VM
    Memory
    2.00GB Single-Channel DDR3 @ 531MHz
    Graphics card(s)
    Intel Mobile Intel 4 Series Express Chipset Family
    Sound Card
    Conexant 20561 SmartAudio HD
    Monitor(s) Displays
    15 inch
    Screen Resolution
    1280 x 800
    Hard Drives
    1x 180GB Intel 530 series SSD 1 x 120GB Hitachi 5400rmp 1 x 650GB Western Digital Elements 5400rpm 1x 1Tb Western Digital Elements 5400rpm
    Internet Speed
    Medium for New Zealand
    Other Info
    Weakest part of my computer is the graphics chipset. Only ever used a laptop. Also use USB Freeview TV Card Lenovo Docking Station External Speakers Other bits a pieces as needed
Thanks for the reference. I'll use that if necessary. In the meantime, I wrote a small uninstall.exe that simply invoked the original uninstaller, put in in program files, and pointed the install string in the registry to it and it seems enough to get Vista to ask for admin privilege when uninstalled from the control panel.
 

My Computer

Back
Top