Click here to Skip to main content
15,918,516 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
See more:
i created one Web application (Asp.net)and i want to install one language pack (.exe file) in my client system like a plugins. This website for My intranet purpose.
is it possible?
any solution is there?
Posted
Comments
Sergey Alexandrovich Kryukov 13-Aug-12 0:32am    
Why a language pack? What problems do you want to solve using it? Right now, I don't see a need in it.
--SA
bbirajdar 13-Aug-12 3:27am    
You can provide a download link to the users to download and install the .exe on to the client machine...
sai sagar 13-Aug-12 8:57am    
i want to install microsoft indic tool for my client system. what are the possibilities to install indic tools from the application only.

1 solution

Hi Sai,

Pushing out EXE files and such with ASP is not normally a good idea, ASP.Net is developed as a server side coding language hence the need for things like jquery and AJAX in it. Pushing out language packs I would leave to a more powerful and designed tool like active directories group policy.
It is possible in ASP but you would run into a world of issues when it came to getting the right authentication and such to access every client that hit your website (Suggestion you don't just have an SOE)

If you really want some code to do this, sent me a message and I can help out more.

Caz
 
Share this answer
 
Comments
sai sagar 13-Aug-12 8:56am    
thanks Zac... i developed on e intranet application for my client. it almost over. now i want to install microsoft indic tool for my client system. what are the possibilities to install indic tools from the application only.
Zac Newman 13-Aug-12 20:32pm    
Okie then... Remember! I don't advise this as the best way to go about this... I think you should do it in GP or something else... But this piece of code will be very close to what you want...

Protected Sub Copy()

Dim hostname As String = Net.Dns.GetHostName.ToString

Dim FromFolder As String
Dim ToFolder As String
Dim Files As New ArrayList
Files.Add("File1.txt")
Files.Add("File2.mp3")
Files.Add("File3.exe")


For Each File In Files

FromFolder = "\\SOURCECOMPUTERNAME\c$\MyFiles\" + File
ToFolder = "\\" + hostname + "\c$\MyFiles\" + File

If System.IO.File.Exists(FromFolder) = True Then
System.IO.File.Copy(FromFolder, ToFolder)
End If
Next

Dim RegKey As RegistryKey
RegKey.OpenSubKey("Software\Microsoft\Windows\CurrentVersion\RunOnce", False)
RegKey.SetValue("Install App", "command.com /c C:\MyFiles\Install.exe")
RegKey.Close()
End Sub

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900