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

User/System environment variables depending on “All users/Only for me” selection

$
0
0
InstallSheld "Ready to Install the Program" dialog contains "All users/Only for me" selection. The project contains PATH environment variable of type System. I want to change this variable type to User, if "Only for me" is selected. Alternatively, I can create different components, for example, AllUsersEnv and CurrentUserEnv, and place PATH variable to each of them, with appropriate type. In this case, what Condition should I set for these components, something like ALLUSERS=true?

InstallShield 2012 Professional Edition, Basic MSI project.

How do I stop Installshield from checking for dependencies while copying files.

$
0
0
One of our projects is indicating a need for DotNet 3.5 during the file copy process. DotNet 3.5 is not actually needed and we do not want to have to install it on Windows 8 and 8.1 systems as this requires and internet connection.

Is there a way to stop Installshield from checking to see if it thinks Windows components might need to be added during file copy?

Chained MSI setups: COM-Servers not registered when executed with 'No UI'

$
0
0
Hi!

I ran into an very odd issue with Chained MSI packages. I ended up creating a test setup that basically only installs a dummy file an then calls two chained msi setups. I've added these chained setups in the 'Releases' view. These two setups are support programs (sub products) of my company that are installed with all the major software products (silently in the background) and there is one special thing about them: They both register one of their dlls as a COM-Server. This is done the regular way in the the 'Advanced Settings => COM Registration' of the corresponding components. So there is nothing fancy about those chained setups and they always worked whenever they were called by old InstallScript setups or from some handwritten install wizards.

Now this is the first time I'm creating a BasicMSI setup for a major product and therefore the first time that I had to use the 'Chained MSI packages' feature in order to get sub products installed along side. As I stated earlier I created a test setup first that basically only installs the chained MSIs silently.

- My first try was to install the chained MSI packages with a UI in order to see if they are called correctly. And indeed everything works fine except for the fact that the UAC prompts me for each setup, but the results are nice: The test setup itself and the two sub setups are installed correctly and everything works as expected.

- My second try was to set the UI of the chained setups to 'No UI'. In this case the setup gets cancelled. When checking the log file of the setup the reason becomes obvious: Missing permission rights.

- My third try then was to set the 'Required Execution Level' of my Setup.exe in my Release to 'Administrator'. In this case the user gets a UAC prompt at the very start of the setup and everything else should from then on already be executed with elevated rights. In this case the main setup and the chained setups install successfully. However after I try to run my applications I notice that the COM-Servers are not registered!!!

I tried it multiple times on different test systems, but the result stays the same: As soon as I set the 'Required Execution Level' to 'Administrator' my chained setups finish successfully, but are actually lacking their COM registrations!

Does anybody have an idea how this is possible?

Regards

Ralf

InstallShield 2012 Spring Limited Edition generating MSI

$
0
0
Hi

i need some help with creating MSI package using VS2012. I have a deployment solution to which I have added a setup project of InstallShield and pointed it to pick primary outputs from the solution. the package created generates an icon in the Start menu, but when it is launched, it calls for the ClickOnce URl configured in the deployment solution and generates another icon that actually launches the application ans will update to the latest version each time upon launch. however, this msi package is meant for Citrix and I would want it to be a basic MSI containing all the dll's and the .msi file that will perform silent installation.. In that case, how do I configure it to package the build output from TFS drop location, please help me, this is the first time I am doing an MSI.

Ananya

How to prompt the user to enter some values and then save them into an XML file

$
0
0
Hi folks,
I wonder if you can point me to the right direction. We are deploying a Web Site and we want to challenge the user to enter some values during the installation process. Something like opening a modal window/promt and ask the user to enter two or three values. Once the user has entered the URLs, we want to save those settings into an arbitrary XML (not into the Web.config but into an specific XML existing in the current deployment).

Any thought on how to accomplish this?

Thanks,

installanywhere launched from ProcessBuilder is not able to take log4.configuration

$
0
0
installanywhere launched from ProcessBuilder is not able to take log4.configuration system property

I am experiencing a strange behaviour. I am launching an installanywhere exe from my java class using ProcessBuilder. I am passing some args for the jvm like

lax.nl.java.option.additional=-Dvis.oldZoom=false -DSystemRoot="C:\Windows" -Dlog4j.configuration=file:"<path to log4.xml>" -DLOG4J_CONFIG_FILE=file:"<path to log4.xml>" -Dlog4j.debug

The last three params are for log4j and they are my problem

I have log4j jars in classpath

lax.class.path=<other jars>;log4j-1.2.17.jar

But nothing comes up, there is no log and no java process. What could be missing here?

Catch sql server exceptions.. Urgent !!!

$
0
0
I am new to Installshield. Its been few days i've been using it. And i'm struck with the below issue;
.Can anyone let me know how we can catch the exceptions/errors occured while executing sqlscripts. I want to show a message in a message box to user if an error occurs while executing the script.


Thanks in Advance.

Does the Path Variables View exist in Express 2013?

$
0
0
If not, is there a way (any way) to create a path variable? If not, can I use environment variables to define folder locations?

Remove missing files from an installation

$
0
0
Hi,

We recently migrated from Wise Installation Studio. Wise had a function called "Remove Missing Files" which detected files that were removed from the source directories and allowed the user to remove their components.

Using Installshield (Pro) I have so far only been able to do this manually for files that were not linked dynamically, by checking for missing keypaths and then deleting their associated components. This is quite cumbersome. Does Installshield have some kind of "Remove/detect missing files" that I am not aware of?

Grateful for any advice on this matter!

Regards,
Morten

Workflow Manager 2013

$
0
0
I've built a workflow in WFM 2013 that contains an automatic rollback trigger, and my phases are all numbered by 10s. When I query the table AMS_WFMajorItemTpl I see the phases I created, plus some additional items that are numbered either x9 or x1. The x1 entries have a WFMajorItemType of 1000, while the x9 entries have a value of 1010. By comparison, the x0 phases I created have a WFMajorItemType of zero and the AdminStudio phases have a WFMajorItemType of 40. It looks to me as thought the value of 1000 (the x1 entries) is used to identify the branching conditions, but I'm not clear on what the 1010 value is used for. For example, I have a phase I created called Select Package Type with a sort order of 70, but there is also an entry called *Package Type with a sort order of 69. *Select Package Type has no PreviousItemId (all zeroes) but does have a NextItemId which points to the correct phase (SortOrder 80)

Name:  WFM2013.jpg
Views: 14
Size:  96.2 KB

After that long winded explanation, the reason I ask is I am trying to create a custom SQL report to identify workflows that have rolled back from the automatic trigger point. The data items in the trigger point step do not get recorded so I can't query on their value (This is a testing phase with a Pass/Fail radio button). I cant use the field AMS_Application.WFIterationCount, because this gets incremented if the workflow is rolled back at any point, not just on the Pass/Fail automatic trigger.

Any suggestions are greatly appreciated.

Ken
Attached Images
 

UAC still unknown publisher even after providing Code-signing

$
0
0
Hi

Has anyone else seen this where in IA Pro 2013 that Windows UAC still says unknown publisher even after providing Code-signing cert and building?

Any help would be great

Thanks
Dean

how to put a check for blank for edit field in install script msi project

$
0
0
I have created a dialog where in I have added 5 edit fields for user to enter the inputs.
Now even if user doesn't provide ant input I am able to click next and proceed the installation.
How can I put a check so that user won't be able to proceed the installation unless he/she has not put something in the edit fields provided in dialog.

Thanks

IS2013 Upgrade to previous version not working

$
0
0
I am running into an issue with InstallShield 2013. I would appreciate any help you can provide.

Out previous version of software setup(s) were build using InstallShield 2010.

Now we have got the InstallShield 2013 and the installs I am creating are working fine on a clean desktop (meaning first time install) but If I try to run the upgrade on existing software then setup is launching a wrong version of setup program to uninstall the existing version.

Let me explain this in detail.

1. We have a Software (v 5.7) installed on desktops that has components A,B and C
2. They all have same version number but different ProductCode and were build using InstallShield 2010
3. Now I have built the new install of our software (v 5.8) using InstallShield 2013 that have new product version and product code
4. While running the upgrade for component A, it internally launches the setup of component C and that is not desirable
5. Important thing to note that if I used the InstallShield 2010 to create the installs for software v5.8, the complete upgrade works fine.

So the bottom line is that when upgrading software whose install program was build using IS2010 is only upgradable using setup(s) that were created using IS2010.

I would appreciate any help in resolving this issue.

Jai

Max number of dependencies for CustomCode action?

$
0
0
Does anyone know if there are a maximum number of dependencies allowed to be specified for a Custom Code action? I have one that requires 27 dependencies, and when I try to execute I get:

java.lang.ArrayIndexOutOfBoundsException: 20
at com.zerog.ia.installer.ConsoleBasedAAMgr.verifyAndManageForSignedJars(Unknown Source)
at com.zerog.util.ZGUtil.verifyForSignedJars(Unknown Source)
at com.zerog.ia.installer.actions.CustomAction.getVisualNameSelf(Unknown Source)
at com.zerog.ia.installer.InstallablePiece.getLogDescription(Unknown Source)
at com.zerog.ia.installer.IAStatus.<init>(Unknown Source)
at com.zerog.ia.installer.IAStatus.<init>(Unknown Source)
at com.zerog.ia.installer.AAMgrBase.an(Unknown Source)

So it would appear we have a limit of 20 dependencies for a Custom Code action?

Supportdir deleted after Basic MSI copying files during silent install

$
0
0
Hi,

I have an issue with Supportdir being deleted during Basic MSI silent install right after all files are copied. What happening is once all features/component's files are copied, Supportdir with all files are gone (deleted), though I has plenty of actions to perform. I have even tried to debug during silent install, but result is the same. But, if I do it in normal UI mode Supportdir stays until the rest of installation.

Has anyone seen the same issue?

Here is command I run: setup.exe /s /v"/qn" and for debug I run setup.exe /s /d /v"/qn"

Thanks in advance.

I can't debug my setup if setup.inx file size is larger (1 MB)

$
0
0
Hi

I can't debug my setup.exe file in IinstallShiled Prof 6.31 version. I'm using installscript project and setup.inx file is 1018 KB (app 1 MB).
My control was not getting into OnfirstUIAfter event. Any limitation for INX file size?


Thanks,
Thananjeyan

Over write common folder

$
0
0
Hi All,

I have build a product with newer version number . According to the new build it has new version dll's.
"program files/common folder has four dlls". While upgrading from older version to the newer version the files in the common folder alone is not getting updated to new version files. where as file present in some other folder is updated. According to one of the forum one guy was telling like it if the files present in folder is key file's then all the files should be updated else it wont be updated. So i removed all the key file to normal files and also tried with option always overwrite.


But still no hopes.
The file in the common folder are not getting updated.
Please someone help me to solve this problem.

Behaviour of abort in update mode

$
0
0
I have IS 2011 Professional and an InstallScript project.
I am wondering what will happen if I abort a setup which is executing the update mode:
Will the abort revert everything (files, registry, database) and do I finaly have to original installation or do I have to backup and restore the original installation manually?

Regards
Sebastian

Which files changed in patch?

$
0
0
When I create a patch, it brings up a small text window that shows a count of files that will have changed from the baseline.
In my latest patch, this number doesn't appear to be high enough. Is there any way of finding out exactly which files will be updated when the patch is installed?

Printing License Agreement While Microsoft Word is Open

$
0
0
Hi,

I've run into an interesting issue here. I have an installer built in IS 2013 (same issue with IS 2008 installers also) with a license agreement I want to print. If I click the print button on the License Agreement dialog, and Microsoft Word is open, I receive the following error: "This file could not be found. (C:\Users\<user>\AppData\...\Ins1.tmp.rtf)
Name:  PrintError.PNG
Views: 1
Size:  5.5 KB

If I click "OK", the content in the Microsoft Word document is printed, instead of the license agreement. Everything works fine if Microsoft Word is not open. This link describes a similar issue:
http://support.lenovo.com/es_AR/diag...DocID=HT050727
However, I have the full version of MS Word Professional Plus 2010 32bit.
OS: Windows 7 Pro 64bit.


Any ideas?

Thanks.
Attached Images
 
Viewing all 4553 articles
Browse latest View live