all groups > visual studio .net setup > february 2005 >
You're in the

visual studio .net setup

group:

Install project produces two installs


Install project produces two installs fsteveb
2/25/2005 6:41:09 AM
visual studio .net setup:
I have a vb.net project with a install project.
I added the bootstrapper to make sure .net 1.1 was installed.
When I run the install using setup.exe I get the GUI and it works fine.
I install updates with a silent install using msiexec:
Msiexec /I "\\server01\Public\Install\Setup.msi" /q
After this runs I get two icons on the desktop and two entries in the
add/remove programs control panel.
What could be causing this and how do I resolve this problem?

--
Re: Install project produces two installs Phil Wilson
2/26/2005 11:44:49 AM
You've most likely installed the one with the GUI for "Everyone", but the
default is "Just me", so the silent install does a default per-user install,
and now you have a per-machine install as well as a per-user one.
--
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

[quoted text, click to view]

Re: Install project produces two installs fsteveb
2/26/2005 2:41:03 PM
Yes that is the situation exactly. The problem is I can't change the default
setting for that dialog unless I use Orca after it is built. This is a
extremely inconvenient solution. I was glad to hear the next version will
have a way to edit those properties. But for now I guess I'm stuck.

[quoted text, click to view]
Re: Install project produces two installs Phil Wilson
2/27/2005 11:53:13 AM
Yes, VS 2005 Beta has a way to set Everyone/Just me in the IDE,
InstallAllusers, so hopefully the final release will too.
--
Phil Wilson
[Microsoft MVP-Windows Installer]
[quoted text, click to view]

Re: Install project produces two installs fsteveb
2/28/2005 2:45:03 PM
I am attempting to write a wscript to automate the changes suggested in the
article you referenced in another post.
http://support.microsoft.com/default.aspx?scid=kb;en-us;835460
If anyone has already done it , I'd love to see that. I have it almost
except for the last step. I am testing by using the WiRunSQL.vbs script. The
first queries are:
'"SELECT Property FROM `RadioButton` where Property = 'FolderForm_AllUsers'"
'"DELETE FROM `RadioButton` where Property = 'FolderForm_AllUsers'"
'"SELECT * FROM `Control` where Control = 'AllUsersRadioGroup'"
'"SELECT * FROM `Control` where Control = 'AllUsersText'"
'"DELETE FROM `Control` where Control = 'AllUsersRadioGroup'"
'"DELETE FROM `Control` where Control = 'AllUsersText'"
'"SELECT * FROM `ControlCondition` where Control_ = 'AllUsersRadioGroup'"
'"SELECT * FROM `ControlCondition` where Control_ = 'AllUsersText'"
'"DELETE FROM `ControlCondition` where Control_ = 'AllUsersRadioGroup'"
'"DELETE FROM `ControlCondition` where Control_ = 'AllUsersText'"

Then when I try to read the contrl to modify it, I don't get anything.
'"SELECT * FROM `Control` where Control = 'DiscCostButton'"
From there I'd make the change with:
'"UPDATE `Control` SET Control = 'CancelButton' FROM `Control` where Control
= 'DiscCostButton'"
These two queries don't do anything. I don't even get an error window.
Would love to be able to automate this process.
Steve

[quoted text, click to view]
Re: Install project produces two installs Phil Wilson
2/28/2005 6:55:17 PM
There's a bug in that KB article that I'll report. The name of that button
is DiskCostButton if you look in there with Orca.
--
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

[quoted text, click to view]

Re: Install project produces two installs fsteveb
3/3/2005 8:23:04 AM
I modified the msi file with orca and now with a wscript to change the
default from ME to ALL. This works great when I do a wizard install. But if I
run msiexec /q as a silent install, it still defaults to just me. Now I have
no way to resolve the problem.

[quoted text, click to view]
Re: Install project produces two installs Phil Wilson
3/9/2005 7:28:29 PM
Add ALLUSERS with a value of 2 in the Property table in the MSI file. That
will take care of the silent install case.
--
Phil Wilson
[Microsoft MVP-Windows Installer]
[quoted text, click to view]

Re: Install project produces two installs fsteveb
3/10/2005 6:31:02 AM
Awesome. I don't know how you found this, but it works great. I wish they
would document these things better.

[quoted text, click to view]
AddThis Social Bookmark Button