PDA

View Full Version : فرم نظر خواهی درIS2008 - Uninstall



regbyte
سه شنبه 04 تیر 1387, 02:44 صبح
با سلام
من می خوام در آخر uninstall یه CheckBox ظاهر بشه و تعیین کنه که آیا کاربر تمایلی به پر کردن فرم نظرخواهی(علت uninstall) داره یا نه ؛ در صورت مثبت بودن، صفحه نظرخواهی مورد نظر در سایت باز شود(URL)
در InstallScript مشکلی ندارم ؛ این کار را در MSI چطوری باید انجام بدم؟

regbyte
سه شنبه 08 مرداد 1387, 12:42 عصر
جواب InstallShield:

1. Create a new MSI project.
2. Goto Installation Designer > Bahaviour and Logic > Custom Actions and Sequences > CUSTOM ACTION WIZARD
3. Press Next.
4. Name it > OpenSurveyForm.
5. Run VBScript Code.
6. Location: Stored directly in the custom action.
7. Paste the following VBScript code:
-
Set IExplorerObject = CreateObject("internetexplorer.application")
IExplorerObject.visible = True
IExplorerObject.navigate "http://.../survey.html"
-
8. Press Next - Synchronous (Check exit code).
9. Press Next - Immediate Execution > Execute only once.
10. Press Next - <Absent from sequence> - After ISSelfRegisterFinalize > [ REMOVE="ALL" And UILevel<5 ] - Finish.
11. Now I have created my custom action which opens a web page.
12. I go to User Interface > Dialogs > All Dialogs > SetupCompleteSuccess > Behaviour.
13. I clock on the OK Push Button. Add Event > Do Action. I set the Argument to my Custom Action that I just created and set condition to _IsMaintenance = "Remove".

اما چطوری CheckBox اضافه کنم؟