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

Suite Actions Can't Access System Properties

$
0
0
Hello,
When I try to access properties like "FEATURE[FeatureName].actionState" in suite actions(i.e. Set Property action in Events view or managed code) they are always null. However they work fine when I write the same thing from the UI. How can I access this features from suite actions? I need them in my managed code.

Thank you,
Marek

Tutorial to uninstall old version and then install new version in single installation

$
0
0
Hi,

Could anyone provide steps to uninstall old version and then install new version during installation?
I just couldn't get this up where it keep prompts me error from the situation below:

With package code, product version changed, product code and upgrade remain unchanged.
It gives me error "Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel."

With package code, product code, and product version changed, upgrade code remain unchanged.
It gives me error "A newer version of this application is already installed on this computer. If you wish to install this version, please uninstall the newer version first. Click OK to exit the wizard."

My setting for the Upgrade settings are as below:
Small/Minor Upgrade Settings
- Disable

Major Upgrade Settings
- Completely uninstall old setup before installing new setup
- Products sharing my Upgrade code.
- Min version : Blank
- Include Min version : No
- Max version : ***ALL_VERSIONS***
- Include Max version : No
- Detect Only : Yes
- Detect Property : ISFOUNDNEWERPRODUCTVERSION

Any idea what should I do so that i can just uninstall the previous installed version if found and then continue to install new version in a single installation?

XML file changes adding nodes during patch uninstall

$
0
0
Hi All,

I am facing a problem while un-installing a Patch. In the previous major upgrade, I've some user inputs where user entered the values and those are getting replaced in the App.config file of the application during upgrade. For this I've used the XML file changes feature of the InstallShield. Now I've created a Patch by using Patch Design feature for the previous major upgrade. I've checked the Allow Patch to be Uninstalled option and built the Patch. Now after executing the Patch successfully, I tried to un-install the Patch. But after successful un-install of the Patch in App.config file new xml nodes are getting added for those nodes the value attributes were replaced during major upgrade. Now there are duplicate nodes created in the App.config file.

I think this can be handled by using a condition during Patch un-installation. But I don't know where to put that condition.

Any help will be greatly appreciated. Please reply ASAP.

Thanks.

IIS and LoadUserProfile

$
0
0
Hello,

does someone know how to set the LoadUserProfile setting within IS?
I don't mean the call of appcmd.

Regards
Johannes

Problem Changing Email Address

$
0
0
Hi,
This site has my old email address for my profile. When I try to change it I get an error stating that this email address is already in use!
How do I change it?
Thanks

Multiple Database scripts in Basic MSI Project

$
0
0
Hi

I am creating a Basic MSI project and in the the Sql Scripts part i want to create scripts for multiple databases. is there a way to achieve it?
Currently it is showing just 4 options namely Azure,Sql Server, MySQL and Oracle.
Any approach or any sort of help to achieve this task is appreciated.:(

Installing to the wrong appdata user profile when UAC admin gives permission

$
0
0
HI Everyone,

I wonder if anyone can help with my InstallShield package ...

I currently have a customer who's machine is logged on as a non-admin. Call them USER1.

The UAC is enabled on these machines and i am installing my program to [LocalAppDataFolder]. This should equate to: C:\Users\USER1\AppData\Local\<PROGRAM>

However, when USER1 runs the setup ... The UAC asks for credentials. The admin account signs in with their credentials, Call them ADMIN1.

Doing so, appears to change the user profile to ADMIN1, instead of the original USER1. This means that a shortcut to my program is installed on USER1's desktop, but the files are located into C:\Users\ADMIN1\AppData\Local\<PROGRAM> making them inaccessible to the user.

From what i can see, with the UAC enabled, there is no way at all to install to USER1's appdata folder?

Can someone help me solve this mystery??

Repackager - How to change "Automated Tests" rules that are evaluated?

$
0
0
In the AdminStudio Repackager when you edit a Repackager project and go to Repackaged Output -> Create Microsoft Windows Installer package, there is another setting called "Run Automated Tests on the package".

Name:  Capture.JPG
Views: 2
Size:  20.6 KB

After you build the MSI package from the Repackager, an XML file is generated which logs the automated tests and fixes applied during the build process. One of tests adds a MsiSystemRebootPending <> "1" to the LaunchCondition table, as you can see in an excerpt of this log:


<TestCase name="Reboot Pending Launch Condition" category="Windows Vista Restart Manager" class="VistaTest.ProgramTest" selected="true">
<TestResults>
<TestResult ordinal="1" severity="Warning" state="Resolved" type="Automatic">A Launch Condition was created that checks for a pending reboot before allowing an install to continue.<TestData><Msg>The installation will launch even in the event that a system restart is pending.</Msg><Resolution>VistaTest.Resolve.RebootPendingLaunchCondition</Resolution><ResDesc>A Launch Condition was created that checks for a pending reboot before allowing an install to continue.</ResDesc><ResolutionMsg>A Launch Condition was created that checks for a pending reboot before allowing an install to continue.</ResolutionMsg></TestData></TestResult>
</TestResults>
<TestData>
<Details>Tests to see if there exists a Launch Condition that will prevent the install from continuing when a restart is pending.</Details>
<KBArticle>TestHelpTopics\Reboot Pending Launch Condition.htm</KBArticle>
<NoResults>The 'Reboot Pending Launch Condition' test ran, but did not detect any problems as the 'MsiRMFilesInUse' dialog is present in the MSI.</NoResults>
<Perform>VistaTest.Perform.RebootPendingLaunchCondition</Perform>
<Resolution>VistaTest.Resolve.RebootPendingLaunchCondition</Resolution>
<Msg severity="Warning">The installation will launch even in the event that a system restart is pending.</Msg>
<ResDesc type="Automatic">A Launch Condition was created that checks for a pending reboot before allowing an install to continue.</ResDesc>
<ResolutionMsg>A Launch Condition was created that checks for a pending reboot before allowing an install to continue.</ResolutionMsg>
</TestData>
</TestCase>


How can I selectively disable this particular test from run without having to globally disable the "Run Automated Tests on the package" option? There is nothing mentioned about this in the AdminStudio help documentation.

i.e. Where does the Repackager obtain the master set of automated test rules from?

Interestingly enough, when you open the .ISM that's generated from the Repackager and then Build the MSI, the LaunchCondition is subsequently removed.

My preference would be for the Repackager to never put the LaunchCondition in, in the first place.
Attached Images
 

Install Anywhere iap xml file parser

$
0
0
We plan to parse our IA project xml file to automate validation and code audits. Does Flexera already have an out of the box parser for the same ? :mad:
If not, then we might need to write our own parser.

Since there is no clear documentation on the same, hence the question.

Automate MSI creation from ISM file

$
0
0
Can someone help me with pointing out options that should be included in.INI file to automate MSI creation process suing Install shield. I am using Install shield 2012. I believe we can use below command to automate the build from ISM file.
ISCmdBld.exe -i "C:\InstallShield 2012 Projects\MySetup.ini"
I would want to customize the process like, registering COM components, RESTART options, Creating Shortcuts, properties etc.

Upgrading from Limited Edition to Express

$
0
0
Hi,

Is there a way to upgrade install shield projects created using VS2010 Install Shield limited edition to Install Shield 2014 Express edition projects?

Thanks.

- Neil Shore

Minor upgrade dialogs editable in Installscript?

$
0
0
I am looking at the minor upgrade section of the application but i am unable to find where i can edit the dialog or messagebox when a minor upgrade is performed. i get the generic messagebox "This setup will perform an upgrade of 'XYZ'. Do you want to continue?" Can this be suppressed at all, instead send the user to an upgrade screen where they have to re-evaluate the license agreement once more?

Get exit code from Custom Action which Invokes an Installation.

$
0
0
Hi

I would like to get exit code from an .exe based installation which is invoked from custom action.

Return processing : Asysnc ( No wait for completion )
In script execution : Deferred Execution in System Context.

Can somebody give example how to get the exit code. I have seen a lot of documentation on internet / forums but no clear example.

Thanks in advance

Amarjeet

2014 standalone build issues

$
0
0
Recently upgraded from 2012Spring Premier to 2014 Premier. So far no issues with the IDE also installed a copy of the 2014 SAB and no issues building locally using that.
Installed the 2014 SAB on one of our Build machines (with no prior InstallShield present) and haven't got the IsCmdbld.exe to work yet.
First issue it complained about was missing dlls. mfc110u.dll, msvcp110.dll and msvcr110.dll. Copied all of these from my local workstation to C:\Windows\SysWOW64 on the Build machine. Now when I attempt to use the IsCmdbld.exe it complains with a -1132: failed to load sabuild.dll message. I'm stuck at this point. There is no sabuild.dll on either the Build machine or my workstation.


Update:
Installed Microsoft Visual C++ 2012 Redistributable x86 and the problem are gone!!

Microsoft SQL server 2012 silent install

$
0
0
Hello All,

Im using InstallShield 2014 Professional and trying to install sql server silently and recieving the following error:

Name:  error msg.png
Views: 11
Size:  17.4 KB


When i was searching for command line arguments, the MEDIALAYOUT was not found on the msdn site

Here is what my prereq looks like.

Name:  prq.png
Views: 11
Size:  24.5 KB


Can anyone point me in the right direction for this issue. Thanks!
Attached Images
  

InstallShield Suite Project - Validate a text field

$
0
0
I have created a suite project in Installshield 2012 spring - Premier edition.

All I want to do is check to see if any one of several text boxes on a dialog are blank, and if any of them are, don't allow the user to go to the next page.

Is there a simple way to do this? I can easily do this in a regular .MSI project, but I really don't know how to do this in a suite project.

Thanks.

How do I skip validation of SQL Connection during uninstallation?

$
0
0
My Basic MSI installer has only one SQL Server connection. I would like to skip validation during uninstallation. I tried setting IS_SQLSERVER_CONNECTIONS_TO_VALIDATE=; but that didn't help.

I appreciate any help.

Java VM pack OracleJRE8u5_windows(x86) is not i18n vm pack

$
0
0
Hi,
We recently changed our VM pack to OracleJRE8u5_windows(x86) available at http://www.flexerasoftware.com/produ...ubtab/vm-packs
Now we are not able to see the language selection drop down in splash screen when we run the installer on localized machine.

Previously we used SunJRE170u10_Win32 and there was no issue. we used to get language selection drop down in splash screen.

The download page has link that says Microsoft Windows I18N, but its not giving language selection drop down.
When we debug, it throws an error "USING NON I18N VM ON NON-LATIN SYSTEM: OPTION NOT SUPPORTED, WILL DEFAULT TO ENG
LISH"

Any one know what the issue is?

Link erro r: undefined reference to Ox09f4df**********

$
0
0
Hi !
I try to install Flexnet Publisher for Linux 64 bits (with gcc 4.7.2).
Il compiled with the given makefile.
When I link my application to the flexnet libs, I get the following error message :

Code:

/home/cdumeuni/softs/flexnet/publisher/11.13.0/64/gcc/4.7.2/lib/liblmgr_pic.a(lm_getid_typ.o): In function `Ox09f4**********85':
(.text+0xfca): undefined reference to `Ox09f4**********02'
/home/cdumeuni/softs/flexnet/publisher/11.13.0/64/gcc/4.7.2/lib/liblmgr_pic.a(lm_getid_typ.o): In function `Ox09f4**********85':
(.text+0x1816): undefined reference to `Ox09f4**********04'

(I masked the real function names because I suppose it comes from an obfuscation process)

I'm able to link to the version 11.7.0 previously installed (not by myself), but not the 11.13.0 version.
Any idea of what I have to do ? :confused:

how to validate email address is correct or not in installscript?

$
0
0
Hi

I want to check the given email address (e.g abc@gmail.com) is correct or wrong in installscript.
Is it Possible in Installscript?


thanks,
Thananjeyan
Viewing all 4553 articles
Browse latest View live