Click here to Skip to main content
15,890,043 members
Home / Discussions / C#
   

C#

 
GeneralTo maintain hyperlinks while converting from smart doc to pdf Pin
Member 188835217-Jun-05 3:00
Member 188835217-Jun-05 3:00 
Generalc++ to c# and marshalling Pin
savage_16-Jun-05 23:41
savage_16-Jun-05 23:41 
GeneralRe: c++ to c# and marshalling Pin
tom_dx17-Jun-05 2:20
tom_dx17-Jun-05 2:20 
GeneralSize Of a Managed Object Pin
Andre Trollip16-Jun-05 20:58
Andre Trollip16-Jun-05 20:58 
GeneralRe: Size Of a Managed Object Pin
S. Senthil Kumar16-Jun-05 23:51
S. Senthil Kumar16-Jun-05 23:51 
GeneralRe: Size Of a Managed Object Pin
Andre Trollip17-Jun-05 0:30
Andre Trollip17-Jun-05 0:30 
GeneralRe: Size Of a Managed Object Pin
DavidNohejl17-Jun-05 3:40
DavidNohejl17-Jun-05 3:40 
GeneralInstaller CustomAction in managed code Pin
mav.northwind16-Jun-05 20:49
mav.northwind16-Jun-05 20:49 
Hi all!

I've a slight problem bugging me for some time now and was wondering what you think to be the best solution:

In the installation package (.msi created from a setup project in VS2003) of my app I'll have to perform some custom actions after the installation has finished. For example, modifying config files to reflect user input during installation.

This is done in a custom action on install. The custom action itself is an installer class written in C#.

So far, so good. It works fine when you run the setup from a CD or a local drive, but often the application isn't installed on a single machine only, but several machines in a network.

Now when you put the .msi on a network folder and run it from there the custom action usually chokes because of security settings in .NET.
When run from a network location, the custom action assembly doesn't have the neccessary access rights for local files and the registry.

So you either have to copy the installation package to a local drive or adjust .NET security settings for your network (and, if you want to run the installation from an UNC path, even for your Internet zone!).

What's the best way to deal with this?
Re-write the custom action classes in unmanaged code?
Modify .NET security settings during installation somehow?
Any other way?

Thanks in advance for your feedback...

mav

P.S.: Another point to consider is when I want to include the installation of .NET framework in my setup, then there's no way to manually adjust security settings before the installation of my app....
Generalon using dataset Pin
ppp00116-Jun-05 19:05
ppp00116-Jun-05 19:05 
GeneralWeb Service - Query Pin
Sumit Domyan16-Jun-05 18:56
Sumit Domyan16-Jun-05 18:56 
GeneralApplication Shell then create modules Pin
misticat16-Jun-05 16:51
misticat16-Jun-05 16:51 
Generaldrop excel to winform Pin
Ista16-Jun-05 15:14
Ista16-Jun-05 15:14 
QuestionGood tree and PropertyGrid controls? Pin
David Thielen16-Jun-05 13:06
David Thielen16-Jun-05 13:06 
AnswerRe: Good tree and PropertyGrid controls? Pin
Ista16-Jun-05 15:46
Ista16-Jun-05 15:46 
GeneralRe: Good tree and PropertyGrid controls? Pin
Roger Alsing20-Jun-05 20:55
Roger Alsing20-Jun-05 20:55 
GeneralRe: Good tree and PropertyGrid controls? Pin
Ista20-Jun-05 21:02
Ista20-Jun-05 21:02 
QuestionCan i change the look of a progress bar? Pin
Anthony Mushrow16-Jun-05 12:10
professionalAnthony Mushrow16-Jun-05 12:10 
AnswerRe: Can i change the look of a progress bar? Pin
Christian Graus16-Jun-05 12:28
protectorChristian Graus16-Jun-05 12:28 
AnswerRe: Can i change the look of a progress bar? Pin
tom_dx16-Jun-05 15:17
tom_dx16-Jun-05 15:17 
AnswerRe: Can i change the look of a progress bar? Pin
Marc Clifton16-Jun-05 15:38
mvaMarc Clifton16-Jun-05 15:38 
GeneralWSE The signature or decryption was invalid Pin
Vadim Tabakman16-Jun-05 11:42
Vadim Tabakman16-Jun-05 11:42 
GeneralRe: WSE The signature or decryption was invalid Pin
Vadim Tabakman26-Jun-06 18:46
Vadim Tabakman26-Jun-06 18:46 
GeneralTransfer String from Class to Form Pin
epfuller16-Jun-05 11:02
epfuller16-Jun-05 11:02 
GeneralRe: Transfer String from Class to Form Pin
Kevin C Ferron16-Jun-05 12:42
Kevin C Ferron16-Jun-05 12:42 
Generalwebbrowser javascript error handling/disabling Pin
astroflake16-Jun-05 8:50
astroflake16-Jun-05 8:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.