Search found 7 matches

Go to advanced search

by chantivlad
Tue Mar 25, 2008 5:27 pm
Forum: Common Problems
Topic: Serial number validator.
Replies: 3
Views: 7083
 
Jump to post

example

by chantivlad
Tue Mar 25, 2008 2:56 pm
Forum: Common Problems
Topic: Custom Action EXE fails
Replies: 11
Views: 9774
 
Jump to post

Hi,

according to:
http://msdn2.microsoft.com/en-us/library/aa370341(VS.85).aspx
only Windows installer is needed to call the function MsiOpenProduct.

I try to open the "MySetup.msi" file in my DLL "myping.dll" using

MSIHANDLE* hProduct = NULL;
UINT val = MsiOpenProduct(_T("MySetup.msi ...
by chantivlad
Tue Mar 25, 2008 11:15 am
Forum: Common Problems
Topic: Custom Action EXE fails
Replies: 11
Views: 9774
 
Jump to post

Hi,


The first problem is that you are trying to pass HOSTNAMEDIT_PROPERTY in the "Function Name" field. Note that in this field you must specify only the name of the function. If you need to pass parameters to the function you can use the Action Data field.


Well, the thing is, in "Custom ...
by chantivlad
Tue Mar 25, 2008 10:39 am
Forum: Common Problems
Topic: Custom Action EXE fails
Replies: 11
Views: 9774
 
Jump to post

Hi Cosmin and happy Easter,

I followed your instructions, but I still am not successful.

I built my exe as a DLL exporting main(argc, argv) in which I do a :

MsiSetProperty(*hProduct,
_T("MyPingedHostNameProperty"),
_T("Success"));


if the ping succeeded, and

MsiSetProperty(*hProduct,
_T ...
by chantivlad
Thu Mar 20, 2008 10:27 am
Forum: Common Problems
Topic: Custom Action EXE fails
Replies: 11
Views: 9774
 
Jump to post

Hi Cosmin,

thank you for your answer.

Yes, my program takes care of the case argc > 2.

I think the problem comes that if the ping fails, the installer will return a failure as stated in the docu : "Custom actions that are executable files must return a value of 0 for success. The installer ...
by chantivlad
Wed Mar 19, 2008 9:29 pm
Forum: Common Problems
Topic: Custom Action EXE fails
Replies: 11
Views: 9774
 
Jump to post

Custom Action EXE fails

Hi,

I am facing a problem for which I haven't found any solutions on the forum.

I have my own Dialog in User Interface -> Dialogs after the WelcomeDlg.

It is a simple Dialog with a Text Edit so that the user can type in the IPv4 adress of a machine or its name (e.g. "192.168.133.120" or "pcname ...
by chantivlad
Tue Mar 18, 2008 2:29 pm
Forum: Common Problems
Topic: MSI Import - Exception
Replies: 4
Views: 5582
 
Jump to post

MSI Import Wizard fails with error

Hello,

I just downloaded and installed the 30-day trial software "Advanced Installer 6.2" for Windows XP.
I then try to import an MSI file of mine using : "File -> New --> Import MSI".
Unfortunately, it stops almost immediately with the error message: "Exception - Invalid MSI Filename string [GCC-G ...

Go to advanced search