473,320 Members | 1,921 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Editing the setup project script

I've written an Add-in for MS Outlook and in Visual Studio .NET 2003, I
also created a setup project to install the add-in. It all works well.

When the user double-clicks on the .msi file to launch the setup,
there's this choice of having the application installed "Just for me"
or for "Everyone" using that computer. I noticed that even when the
user selects "Everyone", the setup script writes the entries for
registering the Add-in with outlook in the Current User hive of the
person who installed it. Ideally, it should be doing that in the Local
Machine hive because it is to apply to every user.

I've searched the setup project files, but I do not see any property
that suggests the registry key where the Add-in will be registered. I
know and I look at the keys manually under
\Software\Microsoft\Office\Outlook\Add-ins.

My question is, is there a way I can edit, or for a start even view the
setup script that the project relies on; the script that has in it
somewhere that if the user selects the "Everyone" option, go to the
registry and do some stuff inside some keys?

Nov 21 '05 #1
2 3315
Hi,

You need orca.exe to edit the setup msi. Open the setup msi to
change the FolderForm_AllUsers property to ALL. Orca is part of the windows
installer sdk.

http://www.microsoft.com/msdownload/...sdk/sdkupdate/

Ken
-------------------
"Sathyaish" <Sa*******@Yahoo.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
I've written an Add-in for MS Outlook and in Visual Studio .NET 2003, I
also created a setup project to install the add-in. It all works well.

When the user double-clicks on the .msi file to launch the setup,
there's this choice of having the application installed "Just for me"
or for "Everyone" using that computer. I noticed that even when the
user selects "Everyone", the setup script writes the entries for
registering the Add-in with outlook in the Current User hive of the
person who installed it. Ideally, it should be doing that in the Local
Machine hive because it is to apply to every user.

I've searched the setup project files, but I do not see any property
that suggests the registry key where the Add-in will be registered. I
know and I look at the keys manually under
\Software\Microsoft\Office\Outlook\Add-ins.

My question is, is there a way I can edit, or for a start even view the
setup script that the project relies on; the script that has in it
somewhere that if the user selects the "Everyone" option, go to the
registry and do some stuff inside some keys?
Nov 21 '05 #2
Thanks a bunch, Ken. Even though I used the Registry Editor within the
VS.NET 2003 IDE (I eventually found it), ocra.exe will be extremely
useful for me in the future. I just learnt something new.

Thanks!

Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: McCool | last post by:
How can I get the deployment project to setup a DSN pointing to an Access DB after installation takes place? Also, is there a way to kick off a vbs script after installation takes place through...
0
by: Sathyaish | last post by:
I've written an Add-in for MS Outlook and in Visual Studio .NET 2003, I also created a setup project to install the add-in. It all works well. When the user double-clicks on the .msi file to...
1
by: Michael A. Covington | last post by:
When I build my setup project, I get three files: setup.exe, setup.ini. and myapplication.msi. These go into a folder called (setup project)/bin/Release. If any other files are in that folder,...
0
by: Mythran | last post by:
This post doesn't necessary have to do with CSharp. It does have to do with Setup Projects in VS.Net. I would like the output of the setup project (setup.exe or setup.msi) to be named...
12
by: Ron Weldy | last post by:
I have a test server runinng 2003/IIS 6 with a mixture of asp and asp.net files. On my workstation I have a share set up to the folder where the web files reside. I am just doing quick and dirty...
1
by: Chris Newby | last post by:
I have created a standard VS 2003 setup project (not the Web Setup project) that installs an Asp.Net application. In addition to this, I would like the setup to also create a few other virtual...
2
by: Nick | last post by:
Hi, I have a VB.Net Setup and deployment project that installs my application. Now in my application, I am using an ocx that I have explicitly registered using the regsvr32.exe utility. Now when...
3
by: Manish | last post by:
I am developing a photo gallery. 1. The user will be able to upload the photo a) Edit the photo using various GD library functions viz. flip, rotate, ... 2. AJAX is implemented in a small...
1
by: vijay | last post by:
HI All, I am using C#.net 2005 and my problem is, i want to automatically run sql script to Restore database as a part of .net Setup and Deployment. I have done setup for my...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.