|
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.huber mt.com
http://www.mt.com
_____________________________________________
|