PDA

View Full Version : سوال: چطور اضافه کردن .net framework 4 به هدسفشممساثهمی2010 کنم؟



pouyansaraf
سه شنبه 07 دی 1389, 03:01 صبح
با سلام

در لیست application require اینستال شیلد 2010 من فریم ورک 4 وجود ندارد

نحوه اضافه کردن اون را اگر ممکن است توضیح دهید

با تشکر

CodeWizzard
شنبه 25 دی 1389, 11:23 صبح
با سلام، شما می تونید فایل دات نت فریم ورک رو همراه با برنامه مثلا در پوشه ی تمپ کپی کنید و بعد با یه اسکریپت همراه با پارامترهایی که مثلا یوزر اینترفیس نصب رو نمایش نده، اجرا کنید یک نمونه از اسکریپ اجرای یک اپلیکیشن :
LaunchApp Example
InstallShield 2010 » InstallScript Language Reference


Note

To call this function in a Basic MSI setup, you must first create a custom action for the entry-point function, execute the custom action in a sequence or as the result of a dialog's control event, and then build the release.

/*--------------------------------------------------------------*\

*

* InstallShield Example Script

*

* Demonstrates the LaunchApp function.

*

* LaunchApp is called to execute an application.

*

* Note: Before running this script, set the preprocessor

* constants so that they reference the fully qualified

* names of the Windows Notepad executable and a valid

* text file on the target system.

*

\*--------------------------------------------------------------*/


#define APPLICATION WINDIR^"Notepad.exe"

#define CMD_LINE WINDIR^"Readme.txt"


// Include Ifx.h for built-in InstallScript function prototypes.

#include "Ifx.h"


export prototype ExFn_LaunchApp(HWND);


function ExFn_LaunchApp(hMSI)

begin


// Launch the Windows Notepad application to edit

// the Windows Readme.txt file.

if (LaunchApp (APPLICATION, CMD_LINE) < 0) then

MessageBox ("Unable to launch "+APPLICATION+".", SEVERE);

endif;


end;

pouyansaraf
شنبه 25 دی 1389, 12:08 عصر
ممنون دوست عزیز

پروژه را به 3.5 تغییر دادم

ولی حتما اسفند ماه به بعد روی این کار میکنم
تشکر

arezoo_sh
جمعه 27 اسفند 1389, 15:24 عصر
سلام دوستان
اگر لطف کنید بصورت قدم به قدم اضافه کردن framework3.5 به فایل های پروژه در installsheild رو توضیح بدید ، ممنون می شم .