Search found 38 matches

Go to advanced search

by elanius
Tue Feb 15, 2011 9:29 am
Forum: Common Problems
Topic: keep reg value during repair
Replies: 3
Views: 3781
 
Jump to post

Re: keep reg value during repair

Here is solution.
http://stackoverflow.com/questions/4406 ... en-upgrade

It can be done also with Advanced Installer. You just need define your DWORD value as String with prefix '#'
by elanius
Mon Feb 14, 2011 3:53 pm
Forum: Common Problems
Topic: keep reg value during repair
Replies: 3
Views: 3781
 
Jump to post

Re: keep reg value during repair

Hi

thanks, it works partially because my reg value is DWORD type and after repair it it changed to REG_SZ and value is set to "#<value>" e.g #64
And in search I have "Retrieve the raw value".

any idea, what can be wrong?
by elanius
Fri Feb 11, 2011 11:26 am
Forum: Common Problems
Topic: keep reg value during repair
Replies: 3
Views: 3781
 
Jump to post

keep reg value during repair

Hi

I want to ask if there is any way to set some kind of exception to keep registry value during repair?
Repair set everything to state which was after install. If could set which components have to be 'repaired' it would be great. It is possible something like this?

thanks.
by elanius
Thu Jan 27, 2011 12:18 pm
Forum: Common Problems
Topic: Run msi form another msi
Replies: 2
Views: 3940
 
Jump to post

Re: Run msi form another msi

Hi

Auto-Updater isn't acceptable for me. But also your answer that I can't do this in standard way is good for me. I know now that I have to use some another approach to achieve solution of this problem.

thanks.
by elanius
Wed Jan 26, 2011 4:01 pm
Forum: Common Problems
Topic: Run msi form another msi
Replies: 2
Views: 3940
 
Jump to post

Run msi form another msi

Hi

I want to ask if there is some way to run .msi file from another .msi file. But I don't mean merge modules where you can run some sub-installation but I need launch another .msi file which is almost same as first. And than first has to finish.

What I need is this. In my installer I have to ...
by elanius
Thu Oct 28, 2010 12:30 pm
Forum: Common Problems
Topic: Register VB runtime during installation
Replies: 3
Views: 4506
 
Jump to post

Re: Register VB runtime during installation

So, probably I am blind because there is MSI api function MsiSetFeatureState which do exactly what I want.

regards,
elanius.
by elanius
Thu Oct 28, 2010 7:40 am
Forum: Common Problems
Topic: Register VB runtime during installation
Replies: 3
Views: 4506
 
Jump to post

Re: Register VB runtime during installation

Hi, thanks for you advice.
But I am not sure if I have understood second part.

I have one inline VB skript:
Session.FeatureRequestState("feature")=2
and I need rewrite it into Win32 DLL Custaom Action. This CAs are well known for me. In my project are more than 50 CA written in Win32 C++ and ...
by elanius
Wed Oct 27, 2010 12:44 pm
Forum: Common Problems
Topic: Register VB runtime during installation
Replies: 3
Views: 4506
 
Jump to post

Register VB runtime during installation

Hi

On some machines I have problem with my installer. It fails with error.
DEBUG: Error 2738: Could not access VBScript runtime for custom action
I know there is problem with VB runtime and I can register it with command regsvr32 vbscript.dll

But can I do it automatically from installer? to avoid ...
by elanius
Thu Oct 07, 2010 3:09 pm
Forum: Common Problems
Topic: reinstall condition
Replies: 5
Views: 5046
 
Jump to post

Re: reinstall condition

So there was problem that I called it too early. Because this property is set during RemoveExistingProducts action. But this is late for me. I need to do this check before welcome dialog shown.

But I will make it all in my direction.

thanks.
by elanius
Thu Oct 07, 2010 10:06 am
Forum: Common Problems
Topic: reinstall condition
Replies: 5
Views: 5046
 
Jump to post

Re: reinstall condition

Hi

It doesn't work for me. Probably it is supported from Windows Installer 4.0. And my application have to be compatible also with older versions. I tried it with version 3.1
Any other suggestions?

thanks.
by elanius
Wed Oct 06, 2010 1:31 pm
Forum: Common Problems
Topic: reinstall condition
Replies: 5
Views: 5046
 
Jump to post

reinstall condition

Hi

I have simple problem. I need define condition for CA which should be called only in case of reinstall. I mean upgrade from lower version to higher.
I tried combination of properties like REINSTALL, REINSTALLMODE, Installed ... But nothing works like I want.

I shouldn't be called at uninstall ...
by elanius
Mon Sep 06, 2010 8:32 am
Forum: Common Problems
Topic: How do I change package code?
Replies: 1
Views: 5432
 
Jump to post

How do I change package code?

Hi

I can not find on internet how I can change package code of some .msi from msi api. I have tool which manually rise version of my .msi so I can test each new build if it can be upgraded on higher version. I have changed everything (version, product code, upgrade table) expect "package code ...
by elanius
Fri Sep 03, 2010 12:38 pm
Forum: Common Problems
Topic: Set ComboBox property from Custaom Action
Replies: 2
Views: 2998
 
Jump to post

Re: Set ComboBox property from Custaom Action

Hi

I think I found problem. My property name is too long, 33 chars. When I cat it to 30 it starts working.

regards, elanius
by elanius
Fri Sep 03, 2010 12:07 pm
Forum: Common Problems
Topic: Set ComboBox property from Custaom Action
Replies: 2
Views: 2998
 
Jump to post

Set ComboBox property from Custaom Action

Hi

I have same problem with combobox behavior. My combobox contain names of countries so there is more then 200 items indexed from 1. I have custom action where I want to set predefined country. There I call MsiSetProperty with name of property associated with combobox and value of country (index ...
by elanius
Wed Mar 24, 2010 3:11 pm
Forum: Common Problems
Topic: call NewDialog from custom action
Replies: 9
Views: 9000
 
Jump to post

Re: call NewDialog from custom action

Hi

Yes this is exactly what I mentioned here http://www.advancedinstaller.com/forums/viewtopic.php?f=1&t=10682
And it is solution which I can use at the end. But I was looking for something maybe little bit "nicer" :)

I would like to know what msdn means with sentence that if MsiDoAction don't ...

Go to advanced search