[IS 12 - BASIC MSI]
I've tested my setup on several xp machine and it MAY happen that the username displayed in the "Customer Information" Dialog is wrong, instead the machine name is displayed.
Is it a bug?
Where does the property [USERNAME] come from? From the registry?
Please help.
Thx
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
[USERNAME] is wrong
Started by
kgiloo
, Feb 28 2007 17:43
2 replies to this topic
Posted 28 February 2007 - 18:12
The official documentation says:
The USERNAME property is a user performing installation.
http://esupportus.ma...ticleid=Q102792
But it seems that it could come from the registry:
HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion
Then it would mean that USERNAME is the 'registered owner'.
very weird:
I created a second account 'dummy' on my machine, with admin rights, and my setup displays then the machine name (i.e RegisteredOwner) instead of username.
However when I logon on the same machine, the setup displays the good username.
I'm lost, where is the truth? What is the method used by InstallShield?
The USERNAME property is a user performing installation.
http://esupportus.ma...ticleid=Q102792
But it seems that it could come from the registry:
HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion
Then it would mean that USERNAME is the 'registered owner'.
very weird:
I created a second account 'dummy' on my machine, with admin rights, and my setup displays then the machine name (i.e RegisteredOwner) instead of username.
However when I logon on the same machine, the setup displays the good username.
I'm lost, where is the truth? What is the method used by InstallShield?
Posted 01 March 2007 - 18:08
How do you launch the install (setup.exe, or double clicking the .msi file, or...)? Does it make a difference whether the user has administrator rights? Which operating system is this (XP, Vista)?
Populating the USERNAME property is integral functionality of Windows Installer (the MSI engine), not something that InstallShield put on top of it.
Populating the USERNAME property is integral functionality of Windows Installer (the MSI engine), not something that InstallShield put on top of it.
Stefan Krüger
InstallSite.org twitter facebook