PDA

View Full Version : سوال: نصب برنامه روی 100 کلاینت



saied7468
شنبه 01 آبان 1389, 00:03 صبح
سلام
من یه برنامه با C#‎نوشتم که قرار بود روی 20 تا کلاینت نصب شه اما حالا که موقع نصب رسیده خریدار می خواد این کلاینت ها به 100 تا تغییر پیدا کنه .
از اونجایی که تعداد کلاینتها زیاد هست من می خوام فایل برنامه رو روی سرور به اشتراک بزارم اما مشکلی که دارم وقتی یه کاربر فایل برنامه رو روی کلاینت اجرا کنه از اونجایی که روی کلاینت دات نت نیست برنامه اجرا نمی شه و ارور می ده . آیا راهی هست که وقتی کاربر برنامه رو اجرا کرد اگر روی سیستم دات نت نصب نبود نصب شه (بدون دخالت کاربر) و بعد برنامه اجرا شه ؟

اگر من فایل برنامه رو به اشتراک بزارم بعدا مشکلی برای اتصال به بانک پیش نمی یاد ؟(بخاطر فایر وال هایی که ممکنه روی بعضی از کلاینت ها ممکنه نصب باشه می گم)

برنامه رو با :
C#‎ 2008
Microsoft SQL Server 2005 Standard Edition
نوشتم.

robat7
شنبه 01 آبان 1389, 14:43 عصر
سلام
ما هم مشکلی مشابه این داشتیم و مدیر شبکه با ترفندی بسیار ساده ولی نه شاید 100% بسیار خوب این مسئله را بر طرف نمود
با ایجاد یک دستور در logon script نصب برنامه مورد نظر را در همه کلاینت ها اجباری نمود
بدین ترتیب که اگر کاربر re-logon یا re-start نماید ابتدا برنامه مورد نظر بر روی دستگاه ها نصب می شود و سپس کاربر به کامپیوتر خود دسترسی می یابد
کامیاب باشی

saied7468
یک شنبه 02 آبان 1389, 19:11 عصر
ممنون از راهنماییتون میشه منبعی برای آموزش دستور در logon script بهم معرفی کنید .
دوستان دیگه هم اگه منبعی برای logon script میشناسن یا راه بهتری بلدن لطفا راهنمایی کنن .

هم اکنون نیازمند یاری سبزتان هستم :لبخند:

golhay2
یک شنبه 02 آبان 1389, 23:35 عصر
This article describes how to assign a logon script to a profile for a local user's account in Windows Server 2003. This logon script runs when a local user logs on locally to the computer. This logon script does not run when the user logs on to the domain.

NOTE: You must be logged on as Administrator or as a member of the Administrators group to complete this procedure. If your computer is connected to a network, network policy settings may also prevent you from completing this procedure.

How to Assign a Logon Script to a User's Profile



Click the Start, point to Administrative Tools, and then click Computer Management.
In the console tree, expand Local Users and Groups, and then click Users.
In the right pane, right-click the user account that you want, and then click Properties.
Click the Profile tab.
In the Logon script box, type the file name (and the relative path, if necessary) of the logon script.

NOTE: If the logon script is stored in a subfolder of the default logon script path, put the relative path to that folder in front of the file name. For example, if the Startup.bat logon script is stored in \\ComputerName\Netlogon\FolderName, type FolderName\Startup.bat.
Click Apply, and then click OK.

NOTES:

Logon scripts that are stored on the local computer apply only to users who log on to who local computer.
Local logon scripts must be stored in a shared folder that uses the share name of Netlogon, or be stored in subfolders of the Netlogon folder.
The default location for local logon scripts is the Systemroot\System32\Repl\Imports\Scripts folder. This folder is not created on a new installation of Windows. Therefore, the SystemRoot\System32\Repl\Imports\Scripts folder must be created and shared out by using the Netlogon share name.
If you do not want to create the Netlogon share in the default location, put the logon script in any folder that the user can access during logon, and then share this folder.



منبع :http://support.microsoft.com