Wise Application Packaging
Pragya
|
November 6th, 2009
Hi,
I have a custom action "Run wisescript from Installed files" scheduled after InstallFinalize in Execute Immediate. This custom action calls an exe, which basically does a couple of things:
1. Gets registry keys and sets a few variables with the paths from the registry.
2. Runs a bat file, that takes an argument as the path retrieved from the registry.
Now, the issue is that the install runs fine when I run it from command line using msiexec /i "path to msi" /l*v c:\log.txt
But when I try running the install by double clicking the exe or msi, the install hangs at the Custom Action. I have put in a couple of display messages just to make sure it gets into various conditions. These message boxes dont et displayed at all when running the exe or msi directly but then work fine from cmd line.
I am not sure whats the problem here, any help would be appreciated.
Thanks.
1 comments
Dhanya
|
November 6th, 2009
Hi,
Can I control the background display when I run my wisescript exe?
Actually, I just want the dialogs to come up, without any background.
TIA,
Dhanya
1 comments
Anthony De Silva
|
November 5th, 2009
Does anyone know of a way to run an executable in wise script and ensure it is run from the ‘System’ account when run? We need to deploy a package and have it run with the SYSTEM rights.
We cannot find a method to do this through SCCM 2007 either.
If anyone could help out it would be greatly appreciated.
Thanks,
Anthony
Endpoint Management and Virtualization, Configuring, Installing, Windows, Tip/How to, Wise Application Packaging
7 comments
Shanushaan
|
November 5th, 2009
Hi again,
I have a new task to show the product help file (help.chm) to be shown as hyperlink in the final User Exit dialog and that hyperlink will open the chm file using hh.exe
How to make that. I don't see any custom action that refers to that.
Regards
Rohit
4 comments
panneer
|
November 4th, 2009
Hi,
From the installer i'm running some .reg files which will merge some registry keys to registry. If UAC is enabled in Windows 2008 R2 machines, merging to registry is failing.
My output file is ProductName.msi
When i was going through some of the threads in this forum, i read that installer will prompt for elevation and by allowing it will grant the permission to run the installer with admin privileges.
But when i run my .msi file, i'm not getting that elevation prompt with Allow and Cancel options.
What should i do to get that elevation prompt?
Thanks for the Help,
Panneer.
12 comments
ChuckF74
|
November 4th, 2009
Hello,
I would like to customize the SQL Connection Dialog to default to SQL Authentication. If it's possible, I'd like to remove the two Database Authentication radio buttons and always set the property to SQL. If it's not possible then I'd like to pre-select SQL Authentication and disable the radio buttons.
I tried this and it didn't work (on the "Next>" button event):
Event: [WiseSqlParam] ---- no change
Argument: WiseSqlServerName|"SQL"|WiseSqlUser|WiseSqlPass|WISE_SQL_CONN_STR - trying to replace the WiseSqlAuth property with "SQL"
Condition: 1 --- no change
When I click the "Next>" button, it's causing an error because I must have the syntax wrong or something simple. How would I change the argument?I'm new to Wise. Thanks.
1 comments
Sam Nass
|
November 4th, 2009
Hi Guys,
I have created a small MSI for a fairly small program called ActiveCalendar and everything is fine except when I deploy the package to my test machines it takes very long time like almost 25min to install and even longer if I decide to un-install it
Looks like it takes the longest when it tries to write INI files during the installation and samething during the un-install process
I have used setupcapture to create my MSI, maybe I should have cleaned a little more the INI files?
Sam
7 comments
Locoblade
|
November 4th, 2009
Hi All
Im trying to create a simple package installing from the network that includes desktop shortcuts to an executable on a CD ROM drive that users will insert at the time of using the application. The problem is when the shortcuts get installed, the Shortcut Target becomes blank. I've tried creating them as actual shortcuts in Package Editor, Ive also tried installing a pre-configured .lnk file onto the desktop as a flat file, and also tried using create shortcut in Wisescript, but on every occasion I get a blank target meaning a useless shortcut.
I assume this is because at the time of creation, the target executable isn't visible / present, which then breaks the shortcut?
Can anyone advise how to get around this please?
thanks
Chris
2 comments
aspen
|
November 4th, 2009
When creating software deployment jobs within NS it would be great if there was a software prerequisite toolset of some sort. This toolset would allow you to specify OS and application requirements that must be present before software installations can continue.
Altiris Deployment Solution, Altiris Notification Server, Endpoint Management and Virtualization, Symantec Connect, Wise Application Packaging, Wise Installation Development
1 comments
Evan Border
|
November 3rd, 2009
Wise Package Studio 8.0 is available for download:
www.symantec.com/business/package-studio
To evaluate the trial, use the link above and click "Trialware"
WPS 8 Release Notes:
kb.altiris.com/display/1/articleDirect/index.asp
WPS 8 Getting Started Guide:
www4.symantec.com//mktginfo/downloads/trialware/wps8_getting_started_guide.pdf
WPS 8 Reference:
kb.altiris.com/display/1/kb/article.asp
WPS 8 Windows Installer Editor Reference:
kb.altiris.com/display/1/kb/article.asp
WPS 8 WiseScript Package Editor Reference:
kb.altiris.com/display/1/kb/article.asp
1 comments
Pragya
|
November 2nd, 2009
I am creating a setup which includes 2 merge modules A & B.The merge modules install files to the:
"C:\Program Files\Common Files\A\Bin"
and
"C:\Program Files\Common Files\B\Bin"
I have a custom action "Run WiseScript From Installed File" in the wsi that is schedule to run after InstallFinalize in Execute Immediate. This custom action calls 2 bat files - A.bat & B.bat, that are installed by the merge modules in the 2 different bin directories mentioned above. These bat files basically call a tool that registers the binaries installed with both the merge modules with our parent product. The Binaries in the location B\Bin has dependencies on binaries in A\Bin. So, the path "C:\Program Files\Common Files\A\Bin" needs to be in the Environment Variable "PATH" for B.Bat to run correctly. I have tried a couple of things for this but all of them seem to fail:
1. Set the Environment variable and appended "C:\...
1 comments
Shanushaan
|
November 1st, 2009
Hi,
I am trying to silently install JRE for my product.
I downloaded the Java1.6_16.exe, used a CA Execute program from Installation, where the exe is the given Java exe and Command line arg to that is as follows
/s /v/qn INSTALLDIR=\"[INSTALLDIR]bin\jre\" [NOTE: as per Java install Specification from ]
If I put this action in the Last Page of UI with Doaction this performs well and Get Jre installed on the box.
But If I put this CA in between the Normal Immediate/Deffered Execution this returns an error Code 1722.
In the CA properties I am using a "Inscript -options" as deferred execution and Processing as "Synchronous"
Any Idea how can I put this in the Place?.
Just revert back to this message if you need some more clarity or you have some question or some other way to perform this installation
Regards
Rohit
P.S. -> The requirement is to Make an msi Installer...
6 comments
Pragya
|
October 30th, 2009
Hi,
I have 2 different questions related to merge modules.
1. I am creating a setup which includes 2 merge modules.Both the merge modules install files to the "C:\Program Files\Common Files\ProductNameA" and "C:\Program Files\Common Files\ProductNameB" location. But there are a few files that need to go to these locations:
AllUsers\ApplicationData\X\ProductNameA
AllUsers\ApplicationData\X\ProductNameB
So, for that I craeted a property in the merge module, and intialized it as NULL. Then did a system search in the merge module itself and got the location AllUsers\ApplicationData from the registry. I created a folder in the "Destination Files" and then looked up the name of the folder that got created. In this case it got created as "INSTALLDIR1.MergeModuleGUID". Then with the SetDirectory Custom action I set this directory to the system search property with my path appended. But for some reason after installation this directory does...
7 comments
IanHe
|
October 29th, 2009
I Run into some difficulties when trying to translate the "Cancel" button if uninstalling from OS ControlPanel.
IDS_ERROR_20 "Veuillez patienter pendant que Windows configure [ProductName]" could be addressed
in resource file's string table, but could not find button of "Cancel"
See the attached "Uninstall.JPG" for details.
Maybe you guys could give some clues,
thanks!
Ian
20 comments
JeffHu
|
October 29th, 2009
Hi,
I am using Wise for Windows installer 6.4. I am trying to create a file in the All Users directory and would like to give that file full permissions for Everybody. Does anybody know if that is possible and how I would go about doing that? Thank you.
9 comments
ohzone
|
October 29th, 2009
Here is a list of the Top 25 Most Viewed articles in the Endpoint Management & Virtualization Community since Connect rolled out last March. Hope you find it as interesting as I did... (thru 29/Oct/09)
Install and Configure SQL Server 2008 Express
Understanding Error 1603: Fatal Error During Installation
Windows System Error Codes (exit codes) Description
Adding Intel Matrix Drivers to Your XP Image for AHCI SATA Support
SATA ICH9 Drivers: Windows XP Driver Injection Script
Installing Altiris Deployment Server and Altiris PXE Server in a VLAN Environment
How to Create a Generic Windows XP Image
Windows XP SP3 is Out - Time to Rebuild Those Base Images!
Chapter 6: WinPE as a PXE Automation Option
Preparing to Install Altiris Deployment Solution 6.9 – Advanced Setup, Part 1: With SQL Server 2005 Express Advanced Services
Uninstall Office 2003 and Install Office 2007
Altiris Client Management Suite 7 Install
Wise Package Studio, Part 1: Installing and Configuring Wise Package...
Altiris Client Management Suite, Altiris Server Management Suite, Endpoint Management and Virtualization, News, Dell Management Products, Ghost Solution Suite, Helpdesk Solution, pcAnywhere, Wise Application Packaging, Wise Installation Development, Workflow Solution, Workspace Virtualization
1 comments
ABKING
|
October 29th, 2009
We have created software manager database with, default settings in wise package studio. Still we have cmdb file/ databse of around 500 apps. If we want to check conflicts against those apps as well, then How can we proceed?
1 comments
Jerry Lai
|
October 28th, 2009
Hi All,
I have a WiseScript that has a get registry value data that works when I manually run the compiled EXE, but when I place that EXE into the machine start up script, the log indicates it does not find it - although it is there.
The key value data is in HKLM\Software\Microsoft\Windows\Current Version\Uninstall\<GUID>\DisplayVersion
Q. Does a particular service or some other pre-requisite need to be started before I can run this registry query?
I only have a very basic understanding of scripting.
Thanks for any advice.
Jerry
9 comments
B_Raj
|
October 27th, 2009
I’m here with 10 Questions & Answers to describe some of the basic things we need to take care while we approach to repackage an application.
1.How do you Customize the vendor MSI?
Vendor MSI’s should not be re-packaged or edited. Create a transform file to customize the vendor MSI.
Some vendors supply utilities to customize their MSI behavior. Where this is the case, such utilities should be first considered as the appropriate method of customizing the MSI. For example, use Microsoft’s Custom Installation Wizard to customize the Office XP suite.
2.When will you create a new MSI wrapper/ Wrapper Script?
This technique can be used in scenarios in which the installation program is not in MSI format and a setup capture is not appropriate.
Example: Service packs and security patches
3.How do you treat INI files while repackage an application?
All INI files should keep in the INI file table, not installed as files...
Basics, Endpoint Management and Virtualization, Installing, Windows, Tip/How to, Wise Application Packaging
0 comments
B_Raj
|
October 27th, 2009
The table below lists some of the language IDs for which the Windows Installer has
localized resource strings.
LangID (Hex) ACP (Abbr) Language (country)
1025 401 1256 ARA Arabic (Saudi Arabia)
1027 403 ...
Basics, Best Practice, Endpoint Management and Virtualization, Installing, Windows, Tip/How to, Wise Application Packaging
0 comments
B_Raj
|
October 27th, 2009
Greetings!!
My intention by publishing this post is to help the newbies to understand the basics about packaging and repackaging technologies.And ofcurse for those who prepare for interviews !! :-)
1.What is Application Packaging?
Simply Application packaging means,the process of Creation of an Installation Program for a Software. Or we can say it as creation of a setup file. Setup.exe is an installation file, a program that puts all of the files and registry keys in the right places so that everything works correctly.
2.What is Application Repackaging?
The process of creating a customized installation using an already packaged installation is termed as Re-packaging.
The setup routine can sometimes be very complex and open to user error especially when thousands of repeat installations are required in a corporate environment. In such environments reliability and repeatability are crucial.
Re-packaging is designed to support company standards and distribution...
0 comments
B_Raj
|
October 27th, 2009
In this article I’m briefing about the operators\symbols which can be used to alter the environment variables during the installation of an MSI package.
Before going to the major point, Lets have a look on the FAQ about environment variables.
What is an Environment variable?
Environment variables are strings that contain information about the environment for the system, and the currently logged on user. Some software programs use the information to determine where to place files (such as temporary files).
What is the difference between System Variable and User Variable?
System Variables
System environment variables are defined by Windows and apply to all computer users. Changes to the system environment are written to the registry, and usually require a restart to become effective. You must need an administrator privilege to modify a system environment variable
The systems variables are stored in the following location in registry.
HKEY_LOCAL_MACHINE\ SYSTEM\...
Basics, Best Practice, Endpoint Management and Virtualization, Installing, Tip/How to, Wise Application Packaging
0 comments
B_Raj
|
October 26th, 2009
While we deal with large windows installer packages, time required to install the package is one of the key factor in measuring the efficiency\quality of the package.
I’m briefing here about some of the techniques that can be used to reduce the installation time of a MSI package.
Using MSIFASTINSTALL Property
The MSIFASTINSTALL property can be used to reduce the time required to install a large Windows Installer package. The property can be set on the command line or in the Property table to configure operations that the user or developer determines are non-essential for the installation.
How MSIFASTINSTALL Property will help to reduce the time?
1. This property helps to skip creating system restore point action in MSI install sequence.
2. This property helps to skip calculating the space requirements action in MSI install sequence. (Filecost)
Thus,if the developer is sure about there won’t be any rollback required and the user’s machine will have enough disk...
Endpoint Management and Virtualization, Installing, Windows, Performance, Tip/How to, Wise Application Packaging
0 comments
B_Raj
|
October 25th, 2009
Msispy is an utility which comes along with Windows installer SDK. If you want to troubleshoot a MSI package in component level or feature level, I will recommend this tool as the best option for repackagers.It provides a nice GUI and command line utilities which makes it very user friendly.
MsiSpy provides a component level view of the products and features installed on a system, using either an MSI Package, or the registry information. Msispy also displays the status of each, and allows you to partially or completely re-install missing or damaged items. You can also re-configure any product or feature, selecting the install level, and specifying whether to install it locally or run it from a network server.
Some of the main features are;
It allows you to open an MSI package and display all information about it.
It display information about all the products installed on the computer.
Allows you to load a profile of the system previously saved by Msispy.
It save a...
0 comments
B_Raj
|
October 24th, 2009
This error is due to an error in Directory table of the MSI.
Generally occurs while a directory entry that references something non existent as its parent. If you ignore the ICE 03 validation error (Similar to the below mentioned Eg.) while developing the MSI,During the installation you will be getting the “Internal Error 2705. Directory” error.
Eg: of an ICE 03 error :
Orca validation reports an ICE03 error: “Not a valid foreign key; Table:Directory, Column: Directory_Parent, Key ):newfolder1″
This error can be fixed by editing the Directory table.The wrong entries in the ‘Directory table’ will be highlighted in red colour.
Endpoint Management and Virtualization, Installing, Performance, Tip/How to, Wise Application Packaging
0 comments