Click here to Skip to main content
15,914,225 members
Home / Discussions / Windows Forms
   

Windows Forms

 
GeneralRe: How to automatically click Ok button in MessageBox? Pin
Ian McCaul7-May-09 5:15
Ian McCaul7-May-09 5:15 
Questioncan a viewlist help containt infomation? Pin
neodeaths5-May-09 3:58
neodeaths5-May-09 3:58 
AnswerRe: can a viewlist help containt infomation? Pin
led mike5-May-09 4:23
led mike5-May-09 4:23 
AnswerRe: can a viewlist help containt infomation? Pin
Mycroft Holmes5-May-09 20:16
professionalMycroft Holmes5-May-09 20:16 
QuestionHow windows installer creates copy of msi with new msi file name? Pin
SoumyaSri5-May-09 2:28
SoumyaSri5-May-09 2:28 
AnswerRe: How windows installer creates copy of msi with new msi file name? Pin
Dave Kreskowiak5-May-09 3:44
mveDave Kreskowiak5-May-09 3:44 
GeneralRe: How windows installer creates copy of msi with new msi file name? Pin
SoumyaSri5-May-09 22:35
SoumyaSri5-May-09 22:35 
GeneralRe: How windows installer creates copy of msi with new msi file name? Pin
Dave Kreskowiak6-May-09 2:14
mveDave Kreskowiak6-May-09 2:14 
SoumyaSri wrote:
i am trying to deploy an application without the need of installing the application by windows installer in the target pc. so mostly i am trying to simulate windows installer services and functions for security purpose.Actually client dont have required permissions to install an application


If the client doesn't have permissions to install the application, it's for a reason. You're also not going to get around this limitation by "simulating" your own installer. If you have to register COM-based components, the client is STILL not going to be able to install your app because the Registry keys you need to change will STILL be off-limits to the user installing the app. The same is true for files that you have to put in System32, and maybe even Program Files, depending on the users situation.


SoumyaSri wrote:
that's why windows installer creates copy of msi package in the temporary location ( RootDrive:\Windows\Installer\") from where installer performs installation with full accessible services required for installation of application and also it uses that copied msi for installation, Repair and uninstallation. so i need to do research on copied msi with generated msi file name.


Wrong. It's not because of the clients permissions. The installer is cached (no matter who installs the app) so that Windows Installer caches the .MSI in a well-known location so that if a repair is needed the .MSI is available to do the repair without needing the original installation media.

You are NOT going to be able to circument security by "faking" a repair of an app by tricking Installer into thinking the app was already installed.

Besides, the Installer service that actually does the install, runs as LocalSystem, not the user...


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




JokeRe: How windows installer creates copy of msi with new msi file name? Pin
Baeltazor21-May-09 18:49
Baeltazor21-May-09 18:49 
QuestionEmbeding windows controls to webforms Pin
Ahamed Azeem4-May-09 21:09
Ahamed Azeem4-May-09 21:09 
AnswerRe: Embeding windows controls to webforms Pin
Dave Kreskowiak5-May-09 3:41
mveDave Kreskowiak5-May-09 3:41 
QuestionRebarWindow change child window posittion inside the reband control Pin
benjamin234-May-09 14:31
benjamin234-May-09 14:31 
QuestionWord automation report, chart, images Pin
flyingbaobao2-May-09 20:07
flyingbaobao2-May-09 20:07 
AnswerRe: Word automation report, chart, images Pin
Mycroft Holmes2-May-09 20:47
professionalMycroft Holmes2-May-09 20:47 
GeneralRe: Word automation report, chart, images Pin
flyingbaobao3-May-09 4:03
flyingbaobao3-May-09 4:03 
QuestionBegin/EndUpdate() and Suspend/ResumeLayout() Opinions appreciated. Pin
Henry Minute2-May-09 11:49
Henry Minute2-May-09 11:49 
AnswerRe: Begin/EndUpdate() and Suspend/ResumeLayout() Opinions appreciated. Pin
Mycroft Holmes2-May-09 20:51
professionalMycroft Holmes2-May-09 20:51 
GeneralRe: Begin/EndUpdate() and Suspend/ResumeLayout() Opinions appreciated. Pin
Henry Minute3-May-09 1:41
Henry Minute3-May-09 1:41 
GeneralWinforms deployment? [Issue identified] [modified] Pin
Trollslayer2-May-09 11:13
mentorTrollslayer2-May-09 11:13 
GeneralRe: Winforms deployment? Pin
Pete O'Hanlon2-May-09 11:17
mvePete O'Hanlon2-May-09 11:17 
GeneralRe: Winforms deployment? Pin
Trollslayer2-May-09 11:26
mentorTrollslayer2-May-09 11:26 
GeneralRe: Winforms deployment? Pin
Douglas Troy2-May-09 11:37
Douglas Troy2-May-09 11:37 
GeneralRe: Winforms deployment? Pin
Trollslayer2-May-09 11:47
mentorTrollslayer2-May-09 11:47 
GeneralRe: Winforms deployment? Pin
Douglas Troy2-May-09 11:53
Douglas Troy2-May-09 11:53 
GeneralRe: Winforms deployment? Pin
Henry Minute2-May-09 12:02
Henry Minute2-May-09 12:02 

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.