December 2007 - Posts
קצת פרטים על היוזר גרופ הקרוב. קודם כל - ההזמנה:
הנכם מוזמנים למפגש הבא של Microsoft Office System User group בנושא :MOSS 2007 – עשה זאת בעצמך.
המפגש יתקיים ב-31/12 בשעה 17:00 בבית מיקרוסופט, רח' הפנינה 2 רעננה. (
שמירה ב- outlook).
במפגש זה נציג מספר תרחישים ליישום עצמי על גבי MOSS. כיצד להקים מעבדה של חיפוש. איך מפעילים, מאנדקסים, קובעים כללים וכו'.
אך משתפים משימות בין Outlook ו – MOSS. כמו כן יוצגו תרחישי עבודה וטיפים נוספים שניתן לממש לבד על ידי קונפיגורציה פשוטה.
סדר יום:
17:00-17:15 התכנסות
17:15-17:30 דברי פתיחה – מירון פרידמן
17:30-18:30 הרצאה ראשונה : חיפוש בעשרה צעדים – איתי שקורי , יועץ, אדוונטק
18:30-18:45 הפסקת קפה
18:45-19:45 הרצאה שנייה: "עשה זאת בעצמך - יישומים נוספים" – קרן שר-אל, מנהלת תחום אופיס, מיקרוסופט ישראל
19:45-20:00 דברי סיכום, סיכום ומשובים
להרשמה לחצו כאן
(http://msevents.microsoft.com/cui/Register.aspx?culture=he-IL&EventID=1032364417&CountryCode=IL)
על מה נדבר:
ההרצאה הראשונה תהיה על הגדרת שירות החיפוש ב MOSS והיא תועבר על-ידי.
נעבור על כל ההגדרות הניתנות דרך ממשק הניהול (במסגרת הזמן), כדי להקנות לכם את הידע הבסיסי הנדרש להשמשת שירות החיפוש של MOSS.
נתחיל מרמה מאוד בסיסית ונתקדם כמה שנוכל לעבר פתרונות מתקדמים יותר. מה שבטוח, אם אין לכם נסיון עם החיפוש תבואו בכל זאת, זאת בדיוק המטרה של ההרצאה.
נושאים שנסקור: מקורות תוכן ותכנון לוחות זמני סריקה, טווחי חיפוש, IFilters ואינדוקס PDF, מרכז החיפוש, ועוד..
כל נושא ילווה בהדגמה חיה של היישום בפועל.
במקביל ל user group אני מתכנן להפיץ מסמך בעברית שמסביר מהתחלה את כל מה שחשוב לדעת על החיפוש. פרטים על המסמך לקראת סוף השבוע.
ההרצאה השנייה תעסוק בנושא עבודה עם משימות ב Outlook ו MOSS. ועליה לא אפרט (פשוט כי לא אני מעביר אותה :)
היא תועבר ע"י קרן שר-אל ממיקרוסופט. קרן תציג רעיונות לעבודה עם משימות, טיפים לייעול העבודה איתן, ועוד..
מקווים לראות אתכם,
איתי.
This post is about installation switches available when running Windows Installer files.
So, in Part 1 we have created a .msp file that adds the Programmability support to InfoPath 2007. Great. As we went on and deployed it, we confirmed that when users start their computers, the installaion indeed started as expected.
The problem is, that this window has a "cancel" button, and some users innocently canceled the installation. Another problem is that the window itself might be intimidating of disturbing for some users.
Luckily the windows installer platform support some switching to handle this situations.
For our purpose we used the following syntax in the startup script "\\Share\InfoPathProgrammabilityInstall.msp /quite". The addition of the "/quite" switch ensured that this dialog was invisible to the user.
Here are some more useful switches (for the complete list click here) (This switches apply to any Windows Installer file, including msi,msp...):
Display Options: /quiet Quiet mode, no user interaction /passive Unattended mode - progress bar only /q[n|b|r|f] Sets user interface level n - No UI b - Basic UI r - Reduced UI f - Full UI (default) |
Restart Options: /norestart Do not restart after the installation is complete /promptrestart Prompts the user for restart if necessary /forcerestart Always restart the computer after installation |
Logging Options: /l[i|w|e|a|r|u|c|m|o|p|v|x|+|!|*] <LogFile> i - Status messages w - Nonfatal warnings e - All error messages a - Start up of actions r - Action-specific records u - User requests c - Initial UI parameters m - Out-of-memory or fatal exit information o - Out-of-disk-space messages p - Terminal properties v - Verbose output x - Extra debugging information + - Append to existing log file ! - Flush each line to the log * - Log all information, except for v and x options /log <LogFile> Equivalent of /l* <LogFile> |
This Post is about How to create a file that will add specific features to an Office 2007 installation, specifically the .NET Programmability support for InfoPath.
If you want to run InfoPath forms that include managed code (C# or VB) you have to make sure that "InfoPath Programmability support for .NET framework 2.0" is installed. It appears under InfoPath when you select to change the installation of Microsoft Office in the Add\Remove wizard. This feature is not installed with the Typical installation of Office, and you have to manually install it.
Last week I have been to a client, with couple of hundreds of computers, all of them already has InfoPath 2007 installed, but none of them had the Programmability support feature installed. So I needed a way to deploy this (and only this!) feature to a lot of computers, in an automated way.
This can be done using OCT, or Office Customization Tool, That comes with every Office installation. This tool allows you to create a customized installation of Office in merely seconds. You can open it with the "\admin" switch of the setup.exe file of Office.
- Open Start --> Run and type the following, replace the path to wherever your installation is:
"c:\Office2007Install\setup.exe /admin"
- The OCT wizard opens.
- Click OK to create a new setup file.
- Select "Set feature installation states" from the side menu.
- Expand the Microsoft InfoPath 2007" node, and click on the icon next to ".NET Programmability Support".
- Select "Run from this computer" (just like you would with a normal installation).
- This action added an [F] tag to tell us that this setting will be Forced.
It also marked every child node as Forced. For me this is unwanted situation, because VSTA is a child node and we don't want it to be installed on every computer in the organization. So we will exclude VSTA from being Forced (If a user already had VSTA installed it will remain intact, If not it will not be installed).
- Expand the ".NET Programmability Support" node until you reach the node "Visual Studio Tools for Applications".
- Click the icon next to it and select "Reset". This will remove the [F] tag meaning you are not changing the state of this.
- Save the file (File --> Save)
What you have just created, is an .msp (Microsoft Patch) file that adds the Programmability support feature to your existing InfoPath installation. You can try it out by doubly clicking on it.
- Next steps depends on you preferences. We used GPO to deploy this file as a startup script, but you can use MOM, GPO installations, WSUS, or any other deployment platform to do this.
- Using this tool you can customize practically every aspect of an Office 2007 installation. Play with the tool a bit and use it for other purposes as well.
- Check out Part 2 (coming soon) for another tip regarding the installation process of this file.