Quantcast
Channel: Flexera Community Forums
Viewing all 4553 articles
Browse latest View live

Issue in Installer while using in Oralce ver 12.1.0.2

$
0
0
InstallAnywhere 2010 throws error during installation if we used Oracle 12.1.0.2

Below are the error Message throws by InstallAnywhere.


InstallAnywhere 2010
Version: 11.5
__________________________________________________________________________

Tue Aug 01 12:29:30 GMT-05:00 2015

Free Memory: 15151 kB
Total Memory: 18176 kB

No Arguments

java.class.path:
/tmp/install.dir.25282/InstallerData
/tmp/install.dir.25282/InstallerData/installer.zip

ZGUtil.CLASS_PATH:
/tmp/install.dir.25282/InstallerData
/tmp/install.dir.25282/InstallerData/installer.zip

sun.boot.class.path:
/tmp/install.dir.25282/Linux/resource/jre/lib/resources.jar
/tmp/install.dir.25282/Linux/resource/jre/lib/rt.jar
/tmp/install.dir.25282/Linux/resource/jre/lib/sunrsasign.jar
/tmp/install.dir.25282/Linux/resource/jre/lib/jsse.jar
/tmp/install.dir.25282/Linux/resource/jre/lib/jce.jar
/tmp/install.dir.25282/Linux/resource/jre/lib/charsets.jar
/tmp/install.dir.25282/Linux/resource/jre/classes

java.ext.dirs:
/tmp/install.dir.25282/Linux/resource/jre/lib/ext
/usr/java/packages/lib/ext

java.version == 1.6.0_15 (Java 1)
java.vm.name == Java HotSpot(TM) Server VM
java.vm.vendor == Sun Microsystems Inc.
java.vm.version == 14.1-b02
java.vm.specification.name == Java Virtual Machine Specification
java.vm.specification.vendor == Sun Microsystems Inc.
java.vm.specification.version == 1.0
java.specification.name == Java Platform API Specification
java.specification.vendor == Sun Microsystems Inc.
java.specification.version == 1.6
java.vendor == Sun Microsystems Inc.
java.vendor.url == http://java.sun.com/
java.class.version == 50.0
java.compiler == null
java.home == /tmp/install.dir.25282/Linux/resource/jre
java.io.tmpdir == /tmp
os.name == Linux
os.arch == i386
os.version == 2.6.32-504.12.2.el6.x86_64
path.separator == :
file.separator == /
file.encoding == UTF-8
user.name == root
user.home == /root
user.dir == /tmp/install.dir.25282
user.language == en
user.region == null
__________________________________________________________________________



ChooseBundledVMs: Unable to locate the VMPack Directory
Loading externalized properties
System's temporary directory = /tmp
Execute Custom Code
class com.install.ia.OracleValidationAction.install() runtime exception:
java.lang.NullPointerException
at com.install.ia.OracleValidationAction.install(OracleValidationAction.java:24)
at com.zerog.ia.installer.actions.CustomAction.installSelf(DashoA10*..)
at com.zerog.ia.installer.AAMgrBase.a(DashoA10*..)
at com.zerog.ia.installer.AAMgr.a(DashoA10*..)
at com.zerog.ia.installer.AAMgr.a(DashoA10*..)
at com.zerog.ia.installer.AAMgrBase.e(DashoA10*..)
at com.zerog.ia.installer.AAMgrBase.n(DashoA10*..)
at com.zerog.ia.installer.AAMgr.a(DashoA10*..)
at com.zerog.ia.installer.AAMgrBase.e(DashoA10*..)
at com.zerog.ia.installer.AAMgrBase.n(DashoA10*..)
at com.zerog.ia.installer.AAMgr.g(DashoA10*..)
at com.zerog.ia.installer.AAMgr.actionPerformed(DashoA10*..)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour ce)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Problem with InstallScript actions in a Suite project

$
0
0
I'm having an issue running even the most simple InstallScript Suite actions in an Advanced UI/Suite project. Log shows the following when running the action:


Code:

8-5-2015[02:15:32 PM]: Running event 'Test'
8-5-2015[02:15:32 PM]: Launching InstallScript action in function 'Test'
8-5-2015[02:15:32 PM]: Engine: request for proxy handler, 0, 0
8-5-2015[02:15:33 PM]: Action returned value 0x80020005
8-5-2015[02:15:33 PM]: Action 'Test' returned status 0x80070643

That function consists of a single SuiteLogInfo call in a nearly-stock Setup.rul. There seems to be something off with this particular project as I had to specifically define paths to default InstallShield libraries to get it to even compile and a similar test function in a freshly created Suite project works fine. However, reconstructing the project from scratch will be quite a task, so any hints that could help with restoring the current project file into a usable state would be highly appreciated.

Error with Move file action in Post -Install Section

$
0
0
Hi All,

I have one sample installer(with IA2014), i have done the following steps in that sample installer.

In Install Section:
*******************
1. Added a folder to install some files ( around 15 files) instead of taking as speed folder. (Exp: $USER_INSTALL_DIR$/database, here database directory having number of file)
2. Created one empty directory ($USER_INSTALL_DIR$/$reporting, Here reporting dir is empty)

In Post-Install Section:
**************************
1. Moving file from $USER_INSTALL_DIR$/$database$/$sample.sql to $USER_INSTALL_DIR$/$reporting

Current Result for above scenario:
***************************************
My log file having ERROR statement like below,

Move File: Destination: C:\Program Files (x86)\My_Product\reporting\sample.sql
Status: ERROR
Additional Notes: ERROR - java.lang.NullPointerException

and file is moving to destination location. But, why this ERROR is coming.


Thanks,
Naresh Ch

How do I execute sql database creation script using Installshield 2015

$
0
0
Hi,

I am new to the install shield 2015 and trying to find out the ways for best installation of my wpf application which uses sql server 2014 database.
-> I used basic msi project and and created installation for my application and installationis happening fine.
-> Problem for me is that I got an sql script to create database in the installed sql server 2014.
I have to execute the script immediately after installing my application.How can I approach this scenario.Could you please help me out on this.

Thanks In Advance,
Bharani.

Not finding the help I need

$
0
0
I'm on a deadline to create an installer and am having a very hard time getting help with the issues I'm having. Is there someone from Flexera monitoring these forums to provide support when no community members are offering any suggestions?

InstallShield LE 2013 broken after installing Visual Studio 2015

$
0
0
Our group has been running InstallShield 2013 LE for quite a while now with no issues. We use it solely for creating setup projects for Windows Services.

Last week several of us in our group installed Visual Studio 2015. Shortly thereafter, we started getting complaints from the testers that our setup projects were no longer working (we are still compiling them using Visual Studio 2013). The projects build just fine, but when installing we get the following error: “Error 1001”. The event logs are equally unhelpful, only stating “The description for Event ID 11001 from source MsiInstaller cannot be found.” and “Installation success or error status: 1603.”

A coworker and I both spent about a day trying various things to get it to work: from uninstalling Visual Studio 2015, to reinstalling Visual Studio 2013, to uninstalling and reinstalling InstallShield LE 2013.

My coworker found that if she unchecked the Installer Class checkbox on the COM & .NET Settings tab on the Properties window of the service’s Primary Output file then the setup.exe runs to completion with no problems (though the application is then not registered as a service on the system).

I have also discovered that if I uninstall the .NET 4.6 framework and reinstall the .NET 4.5.2 framework, I can once again build setup projects that work.

I was hoping that InstallShield LE 2015 would be available but every time I check it only says “Coming Soon”. We have recommended to all of our developers to stop using Visual Studio 2015 and uninstall the .NET 4.6 framework until the InstallShield issues are resolved.

Has anybody else experienced this issue? Is there a better workaround that doesn’t involve uninstalling the .NET 4.6 framework?

messagebox popping up in the background

$
0
0
I am using an installscript method and custom action to check for running software
When MessageBox pops up as a warning or as severe its popping up in the background and hiding the setup.exe icon from the task bar.
This creates the illusion that the installer has crashed.


Is there anything that can be done to make this pop up in the foreground consistently?

Continuous Progress Bar

$
0
0
Project is Basic MSI

I am wanting to display the continuous progress bar when i'm doing lengthy processes. I can add the porgress bar to my dialog but how do i make it actually work while the Custom Action is being performed? I can seem to figure it out.

I have tried subscribing my CA to the progress bar but its not working. During installs the bar just sits there with maybe a 1% mark on it and never moves.. HELP

Access to Public Properties during minor upgrade

$
0
0
I created an MSI a while ago - call this version 1. This has a few custom actions that read the value of one public property and use this value to populate another one. Recently, I have created a new version of this MSI (v1.2) which has some additional public properties in it. This installs fine during a normal installation. However, I have one customer who has a requirement to install the new version without uninstalling the old one so I have been treating the new version as a minor upgrade to the existing version. The v1.2 files get installed OK. However, I have a problem accessing the public properties that were introduced in the latest version of the MSI. Is this expected behavior seeing as they did not exist in the previous version for which I am attempting to apply a minor upgrade? If so, is there any way that I can access them?

I hope this makes sense

Quick Question About File Sizes - Source and Post Install...

$
0
0
He there,

I have a quick question about file sizes. When I examine a particular file in Explorer and through the installation template, I see the file size is 133KB. After the install package is compiled and run on a test system, that same file size is now 140KB. Does anyone know why this might be happening?

Does it have something to do with initial compression then extraction at install-time?

Any insights appreciated!!

Thanks!

FlexNet Connect 2015 Service Pack 1 client files?

$
0
0
I received the notice about the FlexNet Connect 2015 Service Pack 1 release, and the release notes say it "provides enhancements to the Client User Interface and resolves issues from earlier
FlexNet Connect versions." However when I download the client files from the Product & License center, the files in the ZIP are still dated 2/2015. Have the new files just not been uploaded yet, or am I missing something?

Major Upgrade - not overwirting replacing current version on target machine

$
0
0
Hello,

Seems to be many questions on the internet on how to get this to work. We have tried:

Update version
Update Product Code
Update Unique ID (I think this is the Package Code?)
Setting upgrade paths from min to max (max being the last version out there that we want to have overwritten)

But when we install it increases the version number in programs (ie Add/remove programs list), but does not remove the current version.

Any ideas on what we are doing wrong. Just want to do a basic install with the current ver. on the target machine replaced with what we are installing....

Thanks
MLM

Installshield IDE - where is it in VS?

$
0
0
Hello,

Does anyone know have to access the IDE in VS 2010. Is there a way with Installshield in VS2010 to access the specifics of the install? Such as "Within a specific range of versions" or "Products sharing my upgrade code" or to make sure it is set to run a Major Upgrade?

Thanks
MLm

Build Automation

$
0
0
A while back I implemented path variable overrides for my InstallScript MSI projects.
I added this to my isproj files:

<ItemGroup>
<InstallShieldPathVariableOverrides Include="$(MSBuildRoot)">
<PathVariable>PATH_TO__SOURCE_ROOT</PathVariable>
</InstallShieldPathVariableOverrides>
</ItemGroup>

I have been building from a bat file by passing the property MSBuildRoot="D:\cn10_2013q4" to MSBuild.exe and that has been working fine.

Now we are implementing Build Automation with VS 2013 and InstallShield 2013 SP1 SAB.
In my build definition for '5. Advanced - MSBuild Arguments' I specified /Property:MSBuildRoot=$(MSBuildThisFileDirectory)
I am getting this error:

C:\Program Files (x86)\MSBuild\InstallShield\2013\InstallShield.targets (77): PathVariable "PATH_TO__SOURCE_ROOT" path "$(MSBuildThisFileDirectory)" does not exist.

I have tried several properties similar to $(MSBuildThisFileDirectory) and get the same result.
How do I resolve?
Thanks.

RedGate SQL Comparison SDK API Licensing Issue With Installshield

$
0
0
First of all Sorry all that I have to write the lengthy question, But it is necessary to write these things to explain my problem better.

We have an installer to install our application. I want to upgrade the database through installer. So, I have created a snapshot of the latest structure database and placed in the package of the application. I have used the RedGate SQL Comparison SDK API to compare structure of two databases and then synchronize the customer database with the latest snapshot (which I have provided).

I am using custom action class library project to write the methods and those methods will be called the installer itself.

I have purchased the RedGate License key and also RedGate Tool is installed on one machine. On the same machine, I have a installshield license, So I am writing the custom action code on that machine only.

We need to add 'licenses.licx' file in the project where we are using the RedGate SDK API. I have added that file as mentioned in 'http://documentation.red-gate.com/display/CSD11/Distributing+your+SDK+applications'.

I have added that file and the compilation succeeded, as I have the license activated on the same machine. So, first of all to embed the license with the project I had deactivated the RedGate License from the installed RedGate and then While compiling the project I got a popup for activation as shown in attached image.

Name:  Redgate Activation Error.png
Views: 1
Size:  4.9 KB


I have applied the valid license, then I have compiled the installer project from installshield 2014 (which is using the custom action project).

My code of synchronizing the database is working as expected. So, I didn't found any problem in the synchronization code.

Here, the problem is: If I will install the product on the machine which have the Redgate License, then the product will be installed and database will be synchronized successfully. On the client machines, it is obvious that they would not have the RedGate license. The installer is giving the activation popup as shown in above image just before starting the synchronizing.

Even though I have given the valid license at the time of compiling the, I am not able to sync the dbs on other machines.

To verify this is the license issue with RedGate or not, we have created a console application which is using the RedGate API to sync two dbs. The console application worked fine and database has been synced. It seems that there is some issue with InstallShield. Is there any configuration we need to make to license the third party API.

Hope, someone has a solution for this.

Thanks in anticipation.
Attached Images
 

An MSI Launching second MSI not creating Uninstallation entries for second MSI in GPO

$
0
0
Hello All,

i am using installshield-12.0 premier edition. i have created a Basic MSI Project which launches another MSI to install.

i have placed the Custom action to launch the Second MSI installation in the execution sequence after InstallFinalize.i have used LaunchApp() function to launch the second installation. The installation of both MSI work fine in normal installation.

But, when i Install the product using GPO installation with Windows server 2012, the uninstallation entries for second MSI is not created in Cline. because of this, i am unable to uninstall the second MSI.

i have been asked to fix this or Conclude as not feasible with the reason for the weird behavior.
Can anyone suggest me why this might be happening and any possible workaround.

Regards
Prem Kumar R

Installshield 2015 and InstallShield 2008 on 1 system.

$
0
0
I'm currently developing with InstallShield 2008 Premier(rather old, I know) and we're thinking about taking the move to Installshield 2015 Premier.

I was wondering if:
a. I can run both Installshield versions next to each other on the same development system? Without having to fear that it overwrites some files in a system folder somewhere so that it breaks the working of the older Installshield? I maintain > 10 different installer projects and it would be nice that I can convert them step by step without the pressure to delay our release schedule.
b. I have currently a license for Installshield 2008. When I buy Installshield 2015, I get a license for Installshield 2015 and the one from IS2008 keeps active I suppose?
c. We have 3 or 4 build systems with an instance of the IS 2008 standalone builder running. The same question like point a: can I install the IS 2015 standalone builder next to the IS 2008 standalone builder without the fear that they break something from each other?

Thanks!

InstallShield 2013 Basic MSI WebSite "Error 1308. Source file not found" at install

$
0
0
Hi,

we have a Basic MSI project and want to create a MSI package with a WebSite. We created a Component "AppPoolComponent". As we need to install many files in subfolders we tried to add dynamic file linking.

When installing with the MSI package for each file an error 1308 occurs:

Code:

MSI (s) (C8:C4) [08:58:41:001]: Executing op: SetTargetFolder(Folder=C:\inetpub\wwwroot\Softship.Finance\)
MSI (s) (C8:C4) [08:58:41:001]: Executing op: SetSourceFolder(Folder=1\inetpub\wwwroot\SOFTSH~1.FIN\|inetpub\wwwroot\Softship.Finance\)
MSI (s) (C8:C4) [08:58:41:001]: Executing op: ChangeMedia(MediaVolumeLabel=DISK1,MediaPrompt=Please insert the disk: 1,,BytesPerTick=65536,CopierType=0,,,,,,IsFirstPhysicalMedia=1)
MSI (s) (C8:C4) [08:58:41:001]: Executing op: FileCopy(SourceName=favicon.ico,SourceCabKey=_4E46974DD7B057BBC19D5CEEE88BBA9A,DestName=favicon.ico,Attributes=8192,FileSize=894,PerTick=65536,,VerifyMedia=1,,,,,CheckCRC=0,,,InstallMode=58982400,HashOptions=0,HashPart1=-689166905,HashPart2=1815051562,HashPart3=-1771278524,HashPart4=1329033903,,)
MSI (s) (C8:C4) [08:58:41:001]: File: C:\inetpub\wwwroot\Softship.Finance\favicon.ico;        To be installed;        Won't patch;        No existing file
MSI (s) (C8:C4) [08:58:41:001]: Source for file 'favicon.ico' is uncompressed, at 'C:\inetpub\wwwroot\Softship.Finance\'.
InstallFiles: File: favicon.ico,  Directory: C:\inetpub\wwwroot\Softship.Finance\,  Size: 894
MSI (s) (C8:C4) [08:58:41:002]: Note: 1: 1308 2: C:\inetpub\wwwroot\Softship.Finance\favicon.ico
Error 1308. Source file not found: C:\inetpub\wwwroot\Softship.Finance\favicon.ico.  Verify that the file exists and that you can access it.
MSI (s) (C8:C4) [08:58:42:370]: Product: Softship.Finance 5.24.5696.27654 -- Error 1308. Source file not found: C:\inetpub\wwwroot\Softship.Finance\favicon.ico.  Verify that the file exists and that you can access it.

We opened the MSI package with Super Orca and found all files listed. The InstallShield Basic MSI template shows all files under the Component.

As this did not work we tried another approach. We added components for each subfolder and setting the destination of the component to [INSTALLDIR]Subfolder\Subfolder etc...

This also did not work. Same error. We opened the new MSI package with Super Orca and found all files listed.

I don't know what to do and what to change in the Basic MSI project to solve this problem.

What to do to solve this problem?

Thanks in advance

Brgds

Windows 10 support

$
0
0
Question: I see always, when there is a new Installshield version released, as part of the new features list something like: Windows 8 ready, Windows 8.1 ready, Windows 10 ready.
What does this actually mean? I can also install my software package developed with Installshield 2008 on Windows 8.1, Windows 10 etc. without problems....

Can someone explain me what Installshield really mean when saying eg windows 10 ready?

One application using multiple vendor daemons

$
0
0
Hi, I'm developing software that already uses flexnet publisher to provide a floating license model to customers.

We have an old vendorname and until recently released all our software using licenses and a vendor daemon based on this vendorname, say 'old_vendor'. Some of these old licenses are valid for another year or two.
Now we want to use a new vendorname to provide the same licenses. So we have a new vendor daemon with a new name, say 'new_vendor'. From now on we want to give out new licenses using this new name. I managed to build a new vendor daemon with the new name and have been testing our software with licenses using ' new_vendor' as name. However this software does not work anymore with the 'old_vendor' licenses.

Our new software needs to work with both licenses, the old and the new ones. Ideally I would like our software to check whether a new license / vendor daemon is available, and if not whether the old one is available. We only want to provide existing customers with new licenses if the old ones are expired (or there must be another way to stop the old licenses from working otherwise customers will have twice as much licenses as before). Is there a way to provide a fallback or alias for vendorname that will be used if the primary name could not be found?

What is the best approach to do this. I have read something about common vendor daemons, but am not sure whether that is the right approach. Also I have read that it is deprecated.
Any advice is appreciated.
Viewing all 4553 articles
Browse latest View live