Jump to content

Silent Install?

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
9 replies to this topic

#1
Peacemaker

Peacemaker

    Newbie

  • Members
  • PipPip
  • 11 posts
Does anyone have an idea how to do the following:
I have an application that download selected program and run installer.
But how can i do silent install through C#,batch file or something...but still through C#.
To download program and run the silent install?
Sorry for my bad english...^^

#2
l@mbd@

l@mbd@

    Newbie

  • Members
  • PipPip
  • 27 posts
I don't like the sound of "silent install". I don't think you'll get much support until you better explain what exactly you're trying to accomplish.

#3
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
I'll second that. It gets worse when you start dealing with Vista/7 and the UAC, which may make a silent install completely impossible.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#4
Davide

Davide

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 506 posts
Make a regular C# application that does that, but don't let the main Form appear. Write your code in Program.cs, and delete Application.Run( new Form1()). If it returns some error just don't let it reach that line (if (2+2==5) Application.Run(new Form1());).
Are you a newbie programmer trying to learn C#? Check out my small tutorial: Visual C# Programming Basics

#5
QuackWare

QuackWare

    Learning Programmer

  • Members
  • PipPipPip
  • 95 posts

Davide said:

Make a regular C# application that does that, but don't let the main Form appear. Write your code in Program.cs, and delete Application.Run( new Form1()). If it returns some error just don't let it reach that line (if (2+2==5) Application.Run(new Form1());).

Thats not really what he is asking, he wants a program to fully install and run without any user interaction. The user would have to click on your application for your thing to work.

Frankly it sounds like what you are developing has potentially malicious uses. If it doesn't then I am sure having the user click a few extra buttons is not that bad.

#6
Davide

Davide

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 506 posts

QuackWare said:

The user would have to click on your application for your thing to work.
Wrong.
Are you a newbie programmer trying to learn C#? Check out my small tutorial: Visual C# Programming Basics

#7
Peacemaker

Peacemaker

    Newbie

  • Members
  • PipPip
  • 11 posts
Not develop malicious software, it's ZeuApp.
I want when download is finished to start silent install,somehow.But I don't know how.
Can somebody help me?
Sorry for my bad english.

#8
Peacemaker

Peacemaker

    Newbie

  • Members
  • PipPip
  • 11 posts
Not develop malicious software, it's ZeuApp.
I want when download is finished to start silent install,somehow.But I don't know how.
Can somebody help me?
Sorry for my bad english.

#9
While(!EOF)

While(!EOF)

    Newbie

  • Members
  • PipPip
  • 21 posts

Davide said:

Wrong.

I'm curious. Can you elaborate? I've never seen a program run without someone instigating the start of the application. To perform a silent install as he has mentioned sounds like it would eliminate the need for someone to interact with the program...just put the installer on the computer and vuala! you have it installed? haha wow i can see some major repercussions and security risks with that...guess i've never understood the use of silent install approach...but please I would like to know why he is wrong with what he said about your above method. Sounds interesting. :)

#10
Peacemaker

Peacemaker

    Newbie

  • Members
  • PipPip
  • 11 posts
No, no malicious software, it is ZeuApp.
When the download is complete, to begin silent install.
But click a few extra buttons is not that bad.