|
-
April 7th, 2010, 02:12 AM
#1
Command window prompt in uninstallable batch file for c# application
Hi,
i have created a batch file for uninstall a c# application.
Code:
@echo off
@msiexec /qr /x {********}
But when the user click the uninstall option, a command window is poping up.
I searched in net for a solution, but didnt get any solution.
Please help
-
April 7th, 2010, 03:10 AM
#2
Re: Command window prompt in uninstallable batch file for c# application
Interesting question. I confess I dont' have the answer right now. I'm a curious as to why you need to do it this way...
-
April 7th, 2010, 03:35 AM
#3
Re: Command window prompt in uninstallable batch file for c# application
I am creating the install shield for the application. This batch file will be added to the user program list, so that he can uninstall the application with out going to the addd/Remove option.
-
April 7th, 2010, 02:01 PM
#4
Re: Command window prompt in uninstallable batch file for c# application
Putting an uninstall icon in the start menu seems to be the 'old' way of doing things. Modern apps don't seem to do this any longer.
At any rate, you don't need to create a batch file, just put the msiexec command line directly in the shortcut (and point it to the appropriate app install guid).
For example...
Code:
C:\WINDOWS\system32\msiexec.exe /i {216AB108-2AE1-4130-B3D5-20B2C4C80F8F} /qf
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|