Discussion:
[WiX-users] Installed app not showing up in add/remove programs
Gary Smith
2010-02-18 16:24:28 UTC
Permalink
Hello,

I'm run into a situation where the installer generated from WIX doesn't add itself to the add/remove programs file. Here is the case when this happens. The OS is Windows 2008.

When I install the msi as myself, I'm prompted for admin account (since I'm a non-privileged user on the system), I enter the admin account details, install it, everything is good. Going to the control panel add/remove programs, library is there. I uninstall, everything is good.

When I open a command window, run as administrator, I'm prompted for admin account, perform the install, then go to the control panel add/remove programs, there is no entry. I have to track down the installer from the registry HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-21-...\Products\KEY\ to find the appropriate MSI installer form C:\Windows\Installer.

Is this a bug or behavior by design? I would suspect that in all cases it should be in the add/removes table since the installing user is indeed an admin (same user in both cases).

Gary
Rob Mensching
2010-02-18 16:59:53 UTC
Permalink
Post by Gary Smith
Hello,
I'm run into a situation where the installer generated from WIX doesn't add
itself to the add/remove programs file. Here is the case when this happens.
The OS is Windows 2008.
When I install the msi as myself, I'm prompted for admin account (since I'm
a non-privileged user on the system), I enter the admin account details,
install it, everything is good. Going to the control panel add/remove
programs, library is there. I uninstall, everything is good.
When I open a command window, run as administrator, I'm prompted for admin
account, perform the install, then go to the control panel add/remove
programs, there is no entry. I have to track down the installer from the
registry
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-21-...\Products\KEY\
to find the appropriate MSI installer form C:\Windows\Installer.
Is this a bug or behavior by design? I would suspect that in all cases it
should be in the add/removes table since the installing user is indeed an
admin (same user in both cases).
Gary
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
--
virtually, Rob Mensching - http://RobMensching.com LLC
Gary Smith
2010-02-18 17:11:45 UTC
Permalink
Yes, setting the InstallScope to perMachine seems to have solved this issue. Thanks.
Blair
2010-02-18 22:52:05 UTC
Permalink
To understand this issue: your application (when it was per-user) was
installed into the original user's account (not the admin's account). The
admin simply allowed the installation (in UAC it is called
"over-the-shoulder" authorization).

Most installations should have Package/@InstallScope set to declare exactly
what kind of installation they are.

-----Original Message-----
From: Gary Smith [mailto:***@holdstead.com]
Sent: Thursday, February 18, 2010 9:12 AM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Installed app not showing up in add/remove programs
Yes, setting the InstallScope to perMachine seems to have solved this issue.
Thanks.

----------------------------------------------------------------------------
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
Namrata Kumari
2014-05-26 10:14:16 UTC
Permalink
I have <Package InstallerVersion="200" Compressed="yes"
InstallScope="perMachine" />

still my installed app is not visible in Program feature.


But I ahve entries in registry as
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{92A902C7-9B79-4F5D-B2B5-88BBA4FF723C}
and I have all entries there. Please help



--
View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Installed-app-not-showing-up-in-add-remove-programs-tp4592736p7594910.html
Sent from the wix-users mailing list archive at Nabble.com.
Karkare,Aparna
2014-05-26 12:25:44 UTC
Permalink
By any chance is below being used in your file?

<Property Id="ARPSYSTEMCOMPONENT" Value="1" />

If yes, this should be removed.

Aparna Karkare
L&T Infotech
OAI-sys, Enterprise Components and Frameworks
Office: 020-6641-6142
Email: ***@travelers.com

-----Original Message-----
From: Namrata Kumari [mailto:***@aspiresys.com]
Sent: Monday, May 26, 2014 6:14 AM
To: wix-***@lists.sourceforge.net
Subject: Re: [WiX-users] Installed app not showing up in add/remove programs

I have <Package InstallerVersion="200" Compressed="yes"
InstallScope="perMachine" />

still my installed app is not visible in Program feature.


But I ahve entries in registry as
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{92A902C7-9B79-4F5D-B2B5-88BBA4FF723C}
and I have all entries there. Please help



--
View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Installed-app-not-showing-up-in-add-remove-programs-tp4592736p7594910.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
The best possible search technologies are now affordable for all companies.
Download your FREE open source Enterprise Search Engine today!
Our experts will assist you in its installation for $59/mo, no commitment.
Test it for FREE on our Cloud platform anytime!
http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
________________________________
This communication, including attachments, is confidential, may be subject to legal privileges, and is intended for the sole use of the addressee. Any use, duplication, disclosure or dissemination of this communication, other than by the addressee, is prohibited. If you have received this communication in error, please notify the sender immediately and delete or destroy this communication and all copies.

TRVDiscDefault::1201
Phil Wilson
2014-05-26 18:13:52 UTC
Permalink
Those Uninstall registry entries will have a SystemComponent item with
a value of 1 if you've set ARPSYSTEMCOMPONENT to 1.
---------------
Phil Wilson
Post by Karkare,Aparna
By any chance is below being used in your file?
<Property Id="ARPSYSTEMCOMPONENT" Value="1" />
If yes, this should be removed.
Aparna Karkare
L&T Infotech
OAI-sys, Enterprise Components and Frameworks
Office: 020-6641-6142
-----Original Message-----
Sent: Monday, May 26, 2014 6:14 AM
Subject: Re: [WiX-users] Installed app not showing up in add/remove programs
I have <Package InstallerVersion="200" Compressed="yes"
InstallScope="perMachine" />
still my installed app is not visible in Program feature.
But I ahve entries in registry as
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{92A902C7-9B79-4F5D-B2B5-88BBA4FF723C}
and I have all entries there. Please help
--
View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Installed-app-not-showing-up-in-add-remove-programs-tp4592736p7594910.html
Sent from the wix-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
The best possible search technologies are now affordable for all companies.
Download your FREE open source Enterprise Search Engine today!
Our experts will assist you in its installation for $59/mo, no commitment.
Test it for FREE on our Cloud platform anytime!
http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
________________________________
This communication, including attachments, is confidential, may be subject to legal privileges, and is intended for the sole use of the addressee. Any use, duplication, disclosure or dissemination of this communication, other than by the addressee, is prohibited. If you have received this communication in error, please notify the sender immediately and delete or destroy this communication and all copies.
TRVDiscDefault::1201
------------------------------------------------------------------------------
The best possible search technologies are now affordable for all companies.
Download your FREE open source Enterprise Search Engine today!
Our experts will assist you in its installation for $59/mo, no commitment.
Test it for FREE on our Cloud platform anytime!
http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
Jeremiahf
2014-05-26 20:45:56 UTC
Permalink
This may be extra info but I use a config.wxi file and set the values in
there and just reference them with variables like below.

However, you should probably set your values like below except you don't
have to use variables. Just set the values that you need applied.

<Product Id="YOUR-GUID-HERE or * "
Name="$(var.Name) $(var.InstallerProductVersion)"
Language="1033"
Version="$(var.InstallerProductVersion)"
Manufacturer="$(var.Manufacturer)"
UpgradeCode="$(var.UpgradeCode)">

<Package Id="YOUR-GUID-HERE or * "
InstallerVersion="200"
Compressed="yes"
Manufacturer="$(var.Manufacturer)"
Description="$(var.Description) $(var.InstallerProductVersion)"
Keywords="whatever"
Comments="(c) 2014 $(var.Manufacturer)"
InstallPrivileges="elevated"
InstallScope="perMachine"/>

Then you can use property id's to control what is in add/remove programs.

<Icon Id="Company.ico" SourceFile="your icon" />
<Property Id="ARPPRODUCTICON" Value="Company.ico" />
<Property Id="ARPHELPLINK" Value="$(var.ARPHELPLINK)" />

Others you can use are ( just off the top of my head).
ARPNOMODIFY
ARPNOREPAIR
Post by Phil Wilson
Those Uninstall registry entries will have a SystemComponent item with
a value of 1 if you've set ARPSYSTEMCOMPONENT to 1.
---------------
Phil Wilson
Post by Karkare,Aparna
By any chance is below being used in your file?
<Property Id="ARPSYSTEMCOMPONENT" Value="1" />
If yes, this should be removed.
Aparna Karkare
L&T Infotech
OAI-sys, Enterprise Components and Frameworks
Office: 020-6641-6142
-----Original Message-----
Sent: Monday, May 26, 2014 6:14 AM
Subject: Re: [WiX-users] Installed app not showing up in add/remove
programs
Post by Karkare,Aparna
I have <Package InstallerVersion="200" Compressed="yes"
InstallScope="perMachine" />
still my installed app is not visible in Program feature.
But I ahve entries in registry as
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{92A902C7-9B79-4F5D-B2B5-88BBA4FF723C}
Post by Karkare,Aparna
and I have all entries there. Please help
--
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Installed-app-not-showing-up-in-add-remove-programs-tp4592736p7594910.html
Post by Karkare,Aparna
Sent from the wix-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Post by Karkare,Aparna
The best possible search technologies are now affordable for all
companies.
Post by Karkare,Aparna
Download your FREE open source Enterprise Search Engine today!
Our experts will assist you in its installation for $59/mo, no
commitment.
Post by Karkare,Aparna
Test it for FREE on our Cloud platform anytime!
http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk
Post by Karkare,Aparna
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
________________________________
This communication, including attachments, is confidential, may be
subject to legal privileges, and is intended for the sole use of the
addressee. Any use, duplication, disclosure or dissemination of this
communication, other than by the addressee, is prohibited. If you have
received this communication in error, please notify the sender immediately
and delete or destroy this communication and all copies.
Post by Karkare,Aparna
TRVDiscDefault::1201
------------------------------------------------------------------------------
Post by Karkare,Aparna
The best possible search technologies are now affordable for all
companies.
Post by Karkare,Aparna
Download your FREE open source Enterprise Search Engine today!
Our experts will assist you in its installation for $59/mo, no
commitment.
Post by Karkare,Aparna
Test it for FREE on our Cloud platform anytime!
http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk
Post by Karkare,Aparna
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
The best possible search technologies are now affordable for all companies.
Download your FREE open source Enterprise Search Engine today!
Our experts will assist you in its installation for $59/mo, no commitment.
Test it for FREE on our Cloud platform anytime!
http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
--
"They may forget what you said but they will never forget how you made them
feel." -- Anonymous
Namrata Kumari
2014-05-27 04:54:09 UTC
Permalink
<?xml version="1.0" encoding="UTF-8"?>

<?include "DeclareVar.wxi"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:iis="http://schemas.microsoft.com/wix/IIsExtension"
xmlns:sql="http://schemas.microsoft.com/wix/SqlExtension"
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
<Product Id="6974CCDC-3110-481A-AC96-3C3A602E9B6D" Name="CincomGuru1"
Language="1033" Version="1.0.0.0" Manufacturer="Cincom"
UpgradeCode="1138bcc1-2d00-4e7c-9656-6980898f3906">
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine"
/>

<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is
already installed." />
<Media Id="1" Cabinet="media1.cab" EmbedCab="yes" />
<Property Id='ARPCOMMENTS'>any comments</Property>
<Property Id='ARPCONTACT'>contact info</Property>
<Property Id='ARPHELPLINK'>URL for technical support</Property>
<Property Id='ARPURLINFOABOUT'>URL for general info about the
product</Property>
<Property Id='ARPURLUPDATEINFO'>URL for product updates</Property>
<Property Id='ARPHELPTELEPHONE'>URL for technical support</Property>
<Property Id='ARPREADME'>path</Property>
<Property Id='ARPSIZE'>app size in kilobytes</Property>
<Property Id='ARPSYSTEMCOMPONENT'>0</Property>
<Feature Id="AppBuilderFeature" Title="CincomGuru1" Level="1">
<ComponentGroupRef Id="AppBuilderComp"/>
<ComponentGroupRef Id="ProgFilesComp" />
<ComponentGroupRef Id="IISfolderFilesComp" />
</Feature>
<SetDirectory Id="IISfolderFilesDir" Value="C:\inetpub\wwwroot" />
<SetDirectory Id="AppBuilderDir" Value="C:\cincom\appbuilder" />
<UIRef Id="WixUI_Common" />
<WixVariable Id="WixUILicenseRtf" Value="D:\license.rtf"/>
</Product>




Above is the code I have ...... I am still not getting entry in Program
Feature




--
View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Installed-app-not-showing-up-in-add-remove-programs-tp4592736p7594917.html
Sent from the wix-users mailing list archive at Nabble.com.
Nicolás Alvarez
2014-05-27 14:20:42 UTC
Permalink
Post by Namrata Kumari
<?xml version="1.0" encoding="UTF-8"?>
<?include "DeclareVar.wxi"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:iis="http://schemas.microsoft.com/wix/IIsExtension"
xmlns:sql="http://schemas.microsoft.com/wix/SqlExtension"
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
<Product Id="6974CCDC-3110-481A-AC96-3C3A602E9B6D" Name="CincomGuru1"
Language="1033" Version="1.0.0.0" Manufacturer="Cincom"
UpgradeCode="1138bcc1-2d00-4e7c-9656-6980898f3906">
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine"
/>
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is
already installed." />
<Media Id="1" Cabinet="media1.cab" EmbedCab="yes" />
<Property Id='ARPCOMMENTS'>any comments</Property>
<Property Id='ARPCONTACT'>contact info</Property>
<Property Id='ARPHELPLINK'>URL for technical support</Property>
<Property Id='ARPURLINFOABOUT'>URL for general info about the
product</Property>
<Property Id='ARPURLUPDATEINFO'>URL for product updates</Property>
<Property Id='ARPHELPTELEPHONE'>URL for technical support</Property>
<Property Id='ARPREADME'>path</Property>
<Property Id='ARPSIZE'>app size in kilobytes</Property>
<Property Id='ARPSYSTEMCOMPONENT'>0</Property>
<Feature Id="AppBuilderFeature" Title="CincomGuru1" Level="1">
<ComponentGroupRef Id="AppBuilderComp"/>
<ComponentGroupRef Id="ProgFilesComp" />
<ComponentGroupRef Id="IISfolderFilesComp" />
</Feature>
<SetDirectory Id="IISfolderFilesDir" Value="C:\inetpub\wwwroot" />
<SetDirectory Id="AppBuilderDir" Value="C:\cincom\appbuilder" />
<UIRef Id="WixUI_Common" />
<WixVariable Id="WixUILicenseRtf" Value="D:\license.rtf"/>
</Product>
Above is the code I have ...... I am still not getting entry in Program
Feature
Maybe the presence of ARPSYSTEMCOMPONENT makes it hidden even if you
set it to 0, try removing it altogether.
--
Nicolás
Phil Wilson
2014-05-27 17:21:45 UTC
Permalink
...and once again, if those uninstall registry entries have a
SystemComponent item with a value of 1 then ARPSYSTEMCOMPONENT *IS*
your problem, and the next step would be figuring out how it's getting
set, maybe an included merge module etc.
---------------
Phil Wilson


On Tue, May 27, 2014 at 7:20 AM, Nicolás Alvarez
Post by Nicolás Alvarez
Post by Namrata Kumari
<?xml version="1.0" encoding="UTF-8"?>
<?include "DeclareVar.wxi"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:iis="http://schemas.microsoft.com/wix/IIsExtension"
xmlns:sql="http://schemas.microsoft.com/wix/SqlExtension"
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
<Product Id="6974CCDC-3110-481A-AC96-3C3A602E9B6D" Name="CincomGuru1"
Language="1033" Version="1.0.0.0" Manufacturer="Cincom"
UpgradeCode="1138bcc1-2d00-4e7c-9656-6980898f3906">
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine"
/>
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is
already installed." />
<Media Id="1" Cabinet="media1.cab" EmbedCab="yes" />
<Property Id='ARPCOMMENTS'>any comments</Property>
<Property Id='ARPCONTACT'>contact info</Property>
<Property Id='ARPHELPLINK'>URL for technical support</Property>
<Property Id='ARPURLINFOABOUT'>URL for general info about the
product</Property>
<Property Id='ARPURLUPDATEINFO'>URL for product updates</Property>
<Property Id='ARPHELPTELEPHONE'>URL for technical support</Property>
<Property Id='ARPREADME'>path</Property>
<Property Id='ARPSIZE'>app size in kilobytes</Property>
<Property Id='ARPSYSTEMCOMPONENT'>0</Property>
<Feature Id="AppBuilderFeature" Title="CincomGuru1" Level="1">
<ComponentGroupRef Id="AppBuilderComp"/>
<ComponentGroupRef Id="ProgFilesComp" />
<ComponentGroupRef Id="IISfolderFilesComp" />
</Feature>
<SetDirectory Id="IISfolderFilesDir" Value="C:\inetpub\wwwroot" />
<SetDirectory Id="AppBuilderDir" Value="C:\cincom\appbuilder" />
<UIRef Id="WixUI_Common" />
<WixVariable Id="WixUILicenseRtf" Value="D:\license.rtf"/>
</Product>
Above is the code I have ...... I am still not getting entry in Program
Feature
Maybe the presence of ARPSYSTEMCOMPONENT makes it hidden even if you
set it to 0, try removing it altogether.
--
Nicolás
------------------------------------------------------------------------------
The best possible search technologies are now affordable for all companies.
Download your FREE open source Enterprise Search Engine today!
Our experts will assist you in its installation for $59/mo, no commitment.
Test it for FREE on our Cloud platform anytime!
http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
https://lists.sourceforge.net/lists/listinfo/wix-users
Namrata Kumari
2014-05-30 03:54:41 UTC
Permalink
All I did is removed <UI> tag completly and amazed to see it
worked............. as soon I intergate my UI part there.. and then install
doesn't have entry in Program feature.....



--
View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Installed-app-not-showing-up-in-add-remove-programs-tp4592736p7594953.html
Sent from the wix-users mailing list archive at Nabble.com.

Continue reading on narkive:
Loading...