List Info

Thread: AW: A few of problems with PerlMSI




AW: A few of problems with PerlMSI
country flaguser name
Switzerland
2007-03-02 02:04:02

Hi all,

can nobody help me with my problems?

Im using windows XP and perl dev kit 6.0

Thanks a lot.

Greets, Denis

_____________________________________________
Von: Huber Denis MTA
Gesendet: Montag, 26. Februar 2007 16:33
An: pdklistserv.ActiveState.com
Betreff: A few of problems with PerlMSI

 

 Dear Community,

since a few days we are going to build an MSI-Installer-Package with ActiveState Perl Dev Kit.

1.

Currently I have the wish to deactivate a few of the features in the featurelist by default.

2.

I want to add a file with the following line to a Feature:

#       $Image->;SetComponentFeature('Documentation/ASTT_UserGuide.pdf', 'DOCUMENTATION_FEATURE_USERGUIDE', 0, 0);

But it doesn't work. If I add a .exe file at the same way, it works. At each other file format I have problems.

3.

The installer should add a path to the PATH system variable. I've done that with the line:

#       $installer->SetEnvironmentPath('ProgramFilesFolder/Mettler-Toledo/ASTT/bin');

But I can't find this path in the PATH variable after the installation. If I look at the code of the installer module, it seems like this function can only add the Path to the autoexec.bat? But this will not work in windows 2000 and higher versions!?

4.

I should add a startmenu entry where the windows cmd.exe is used with a working directory of our program, so that we can work with the console in our working directory.

#       $installer->SetShortcut('ProgramMenuFolder/Mettler-Toledo/ASTT/ASTT ' . PRODUCT_VERSION,

#         ;           ;                   '%SystemRoot%system32cmd.exe /k Testsuite.exe',

#         ;           ;                   'ASTT' . PRODUCT_VERSION,

#         ;           ;                   'ProgramFilesFolder/ASTT/Program/Perl/bin');

But the installer package mentions, that it can't find this file in the image?

I hope you can give me a tip how I can handle this.

Thanks a lot.

_____________________________________________

Denis Huber

Praktikant

Mettler-Toledo (Albstadt) GmbH

P.O.Box 10 02 50, D-72423 Albstadt

Unter dem Malesfelsen 34, D-72458 Albstadt-Ebingen

mailto: denis.hubermt.com

http://www.mt.com

_____________________________________________

RE: A few of problems with PerlMSI
user name
2007-03-02 02:12:32

Hi Denis,

 

I’m sorry, I’m very busy with some other stuff right now.

I’ll try to look into your questions on Monday.

 

Cheers,

-Jan

 

From: pdk-bounceslistserv.ActiveState.com [mailto:pdk-bounceslistserv.ActiveState.com] On Behalf Of Denis.Hubermt.com
Sent: March 2, 2007 12:04 AM
To: pdklistserv.ActiveState.com
Subject: AW: A few of problems with PerlMSI

 

Hi all,

can nobody help me with my problems?

I’m using windows XP and perl dev kit 6.0

Thanks a lot.

Greets, Denis

_____________________________________________
Von: Huber Denis MTA
Gesendet: Montag, 26. Februar 2007 16:33
An: pdklistserv.ActiveState.com
Betreff: A few of problems with PerlMSI

 

 Dear Community,

since a few days we are going to build an MSI-Installer-Package with ActiveState Perl Dev Kit.

1.

Currently I have the wish to deactivate a few of the features in the featurelist by default.

2.

I want to add a file with the following line to a Feature:

#       $Image->SetComponentFeature('Documentation/ASTT_UserGuide.pdf', 'DOCUMENTATION_FEATURE_USERGUIDE', 0, 0);

But it doesn't work. If I add a .exe file at the same way, it works. At each other file format I have problems.

3.

The installer should add a path to the PATH system variable. I've done that with the line:

#       $installer->SetEnvironmentPath('ProgramFilesFolder/Mettler-Toledo/ASTT/bin');

But I can't find this path in the PATH variable after the installation. If I look at the code of the installer module, it seems like this function can only add the Path to the autoexec.bat? But this will not work in windows 2000 and higher versions!?

4.

I should add a startmenu entry where the windows cmd.exe is used with a working directory of our program, so that we can work with the console in our working directory.

#       $installer->SetShortcut('ProgramMenuFolder/Mettler-Toledo/ASTT/ASTT ' . PRODUCT_VERSION,

#         ;           ;        ;           '%SystemRoot%system32cmd.exe /k Testsuite.exe',

#         ;           ;        ;           'ASTT' . PRODUCT_VERSION,

#         ;           ;        ;        ;   'ProgramFilesFolder/ASTT/Program/Perl/bin');

But the installer package mentions, that it can't find this file in the image?

I hope you can give me a tip how I can handle this.

Thanks a lot.

_____________________________________________

Denis Huber

Praktikant

Mettler-Toledo (Albstadt) GmbH

P.O.Box 10 02 50, D-72423 Albstadt

Unter dem Malesfelsen 34, D-72458 Albstadt-Ebingen

mailto: denis.hubermt.com

http://www.mt.com

_____________________________________________

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )