Answered by:
How to add a InstallLocation in my setup installation

Question
-
Hello,
I've created a Setup project under VS2010 and I deploy my application on a vista PC.
After installation is done, everything is ok during installation, when I go to the control panel, I see my app with nothing in the column Location.
I would like to add an entry in the registry called InstallLocation = [ProgramFilesFolder]\[Manufacturer]\[ProductName] but on the registry I cannot add an entry to
HKEY_LOCAL_MACHINE\SOFTWRAE\Microsoft\Windows\CurrentVersion\Uninstall
Is there a way to add the InstallLocation in control Panel ?
fred on youTube
PHP MySQL Web Site Creator
fred- Edited by fred75 Friday, June 1, 2012 11:39 AM
Friday, June 1, 2012 11:38 AM
Answers
-
Hi fred75,
To set the InstallLocation, we need to use a type 51 custom action to set the ARPINSTALLLOCATION property.The ARPINSTALLLOCATION property is the full path to the application's primary folder. Then add the custom action to the InstallExecuteSequence table.
You need the Orca tool to do this.
For more details, see http://blogs.msdn.com/b/amitava/archive/2007/07/17/certified-for-windows-vista-logo-test-case-faq-test-case-19.aspx.
In addition, you can find the values written under Uninstall Registry Key in the document below.
http://msdn.microsoft.com/en-us/library/aa372105.aspx
If there is anything unclear, please let me know.
Bob Wu [MSFT]
MSDN Community Support | Feedback to us
- Marked as answer by fred75 Tuesday, June 19, 2012 8:26 PM
Monday, June 4, 2012 6:01 AM
All replies
-
Hi fred75,
To set the InstallLocation, we need to use a type 51 custom action to set the ARPINSTALLLOCATION property.The ARPINSTALLLOCATION property is the full path to the application's primary folder. Then add the custom action to the InstallExecuteSequence table.
You need the Orca tool to do this.
For more details, see http://blogs.msdn.com/b/amitava/archive/2007/07/17/certified-for-windows-vista-logo-test-case-faq-test-case-19.aspx.
In addition, you can find the values written under Uninstall Registry Key in the document below.
http://msdn.microsoft.com/en-us/library/aa372105.aspx
If there is anything unclear, please let me know.
Bob Wu [MSFT]
MSDN Community Support | Feedback to us
- Marked as answer by fred75 Tuesday, June 19, 2012 8:26 PM
Monday, June 4, 2012 6:01 AM -
hello Bob,
thanks, i didn't know Orca
I'll download it and try it.
Tuesday, June 5, 2012 5:14 PM -
Hi fred,
To use The Orca tool, you need to install the Windows SDK, If you have install it, then you can find it under the folder: [Program Files folder]\Microsoft SDKs\Windows\[version]\Bin. Double click the Orca.msi to install.
Best Regards,
Bob Wu [MSFT]
MSDN Community Support | Feedback to us
Thursday, June 7, 2012 2:57 AM -
Hello Bob,
ok thanks for the information.
I have already downloaded the Windows SDK and will install it very soon.
Thursday, June 7, 2012 8:00 PM -
Hi Fred,
Is the issue solved?
Any update?
Best Regards,
Bob Wu [MSFT]
MSDN Community Support | Feedback to us
Wednesday, June 13, 2012 9:03 AM -
hello Bob,
no not yet
I'll try very soon, a bit busy these days
Wednesday, June 13, 2012 4:10 PM -
Hi Fred,
If you encounter any issue, please feel free to let us know.
Best Regards,
Bob Wu [MSFT]
MSDN Community Support | Feedback to us
Tuesday, June 19, 2012 8:58 AM -
Tuesday, June 19, 2012 8:25 PM