strange results
Hi,
I am using re-packager to (hopefully) build a MSI to install a suite of applications (these are legacy programs with very poorly written installers that don't offer silent options and such)....
I go through re-packager, take the pre-snapshot, install my app(s) and configure them, and then run the post snapshot + build msi...
The result is a 1.00 MB MSI file that doesn't run (error message 2356)
The thing is, I know for a fact that the applications take up atleast 200MB of space on the c:\...
I've made sure all of the directories needed are included on the left and I can see all of the registry keys...
I choose a random exe as the setup file at the beggining and also a random exe as the shortcut file at the end.
any ideas!?
I am using re-packager to (hopefully) build a MSI to install a suite of applications (these are legacy programs with very poorly written installers that don't offer silent options and such)....
I go through re-packager, take the pre-snapshot, install my app(s) and configure them, and then run the post snapshot + build msi...
The result is a 1.00 MB MSI file that doesn't run (error message 2356)
The thing is, I know for a fact that the applications take up atleast 200MB of space on the c:\...
I've made sure all of the directories needed are included on the left and I can see all of the registry keys...
I choose a random exe as the setup file at the beggining and also a random exe as the shortcut file at the end.
any ideas!?
0 Comments
[ + ] Show comments
Answers (20)
Please log in to answer
Posted by:
msandona
14 years ago
I'd recommend doing each software package separately. What I do is i have a virtual machine (we use VMWare ESX but you could use vmware player, for example) that just has windows and appdeploy packager. I take a snapshot of the VM. then i capture the install of the software and create the package, roll back the machine and try my install package.
any time i've tried to install multiple items, like FileMaker and patch, the package failed.
As for building the package, i'm not sure this is the correct way but what works for me is to run the capture using the pre/post shapshots. then you run the repackager again selecting "build package based on recipe file" an use the xml file created by the first pass to build the final version of the msi
this seems like a lot of work but I think it is worth it since after you have the well built msi(s) your end up saving your self tons of work.
Hope this helps.
Matt
any time i've tried to install multiple items, like FileMaker and patch, the package failed.
As for building the package, i'm not sure this is the correct way but what works for me is to run the capture using the pre/post shapshots. then you run the repackager again selecting "build package based on recipe file" an use the xml file created by the first pass to build the final version of the msi
this seems like a lot of work but I think it is worth it since after you have the well built msi(s) your end up saving your self tons of work.
Hope this helps.
Matt
Posted by:
gperks
14 years ago
Posted by:
ltd2007
14 years ago
Posted by:
ltd2007
14 years ago
Posted by:
gperks
14 years ago
Posted by:
ltd2007
14 years ago
yup.
Recipe File Version = '1.1' AppDeploy Repackager Version = '1.1'
13-Nov-2009 08:38:00 CMSIHandler::PopulateMSITable: Error in function MsiDatabaseOpenViewA in FILE_TABLE case
13-Nov-2009 08:38:00 CMSIHandler::PopulateMSITable: Error in function MsiDatabaseOpenViewA in COMPONENT_TABLE case
13-Nov-2009 08:38:00 CMSIHandler::PopulateMSITable: Error in function MsiDatabaseOpenViewA in FEATURE_COMPONENT_TABLE case
13-Nov-2009 08:38:00 CMSIHandler::PopulateMSITable: Error in function MsiDatabaseOpenViewA in FILE_TABLE case
13-Nov-2009 08:38:00 CMSIHandler::PopulateMSITable: Error in function MsiDatabaseOpenViewA in COMPONENT_TABLE case
13-Nov-2009 08:38:00 CMSIHandler::PopulateMSITable: Error in function MsiDatabaseOpenViewA in FEATURE_COMPONENT_TABLE case
13-Nov-2009 08:38:00 CMSIHandler::PopulateMSITable: Error in function MsiDatabaseOpenViewA in FILE_TABLE case
13-Nov-2009 08:38:00 CMSIHandler::PopulateMSITable: Error in function MsiDatabaseOpenViewA in COMPONENT_TABLE case
13-Nov-2009 08:38:00 CMSIHandler::PopulateMSITable: Error in function MsiDatabaseOpenViewA in FEATURE_COMPONENT_TABLE case
13-Nov-2009 08:38:07 CMSIHandler::PopulateMSITable: Error in function MsiDatabaseOpenViewA in REGISTRY_TABLE case
13-Nov-2009 08:38:08 CMSIHandler::PopulateMSITable: Error in function MsiDatabaseOpenViewA in REGISTRY_TABLE case
13-Nov-2009 08:38:31 CMSIHandler::PopulateMSITable: Error in function MsiDatabaseOpenViewA in REGISTRY_TABLE case
13-Nov-2009 08:39:08 CMSIHandler::PopulateMSITable: Error in function MsiDatabaseOpenViewA in REGISTRY_TABLE case
13-Nov-2009 08:39:10 CMSIHandler::PopulateMSITable: Error in function MsiDatabaseOpenViewA in REGISTRY_TABLE case
13-Nov-2009 08:39:58 CMSIHandler::PopulateMSITable: Error in function MsiDatabaseOpenViewA in REGISTRY_TABLE case
13-Nov-2009 08:40:30 CMSIHandler::BuildMSI:Unable to set MsiRecordSetStream for C:\MSIProject.cab
Recipe File Version = '1.1' AppDeploy Repackager Version = '1.1'
13-Nov-2009 08:38:00 CMSIHandler::PopulateMSITable: Error in function MsiDatabaseOpenViewA in FILE_TABLE case
13-Nov-2009 08:38:00 CMSIHandler::PopulateMSITable: Error in function MsiDatabaseOpenViewA in COMPONENT_TABLE case
13-Nov-2009 08:38:00 CMSIHandler::PopulateMSITable: Error in function MsiDatabaseOpenViewA in FEATURE_COMPONENT_TABLE case
13-Nov-2009 08:38:00 CMSIHandler::PopulateMSITable: Error in function MsiDatabaseOpenViewA in FILE_TABLE case
13-Nov-2009 08:38:00 CMSIHandler::PopulateMSITable: Error in function MsiDatabaseOpenViewA in COMPONENT_TABLE case
13-Nov-2009 08:38:00 CMSIHandler::PopulateMSITable: Error in function MsiDatabaseOpenViewA in FEATURE_COMPONENT_TABLE case
13-Nov-2009 08:38:00 CMSIHandler::PopulateMSITable: Error in function MsiDatabaseOpenViewA in FILE_TABLE case
13-Nov-2009 08:38:00 CMSIHandler::PopulateMSITable: Error in function MsiDatabaseOpenViewA in COMPONENT_TABLE case
13-Nov-2009 08:38:00 CMSIHandler::PopulateMSITable: Error in function MsiDatabaseOpenViewA in FEATURE_COMPONENT_TABLE case
13-Nov-2009 08:38:07 CMSIHandler::PopulateMSITable: Error in function MsiDatabaseOpenViewA in REGISTRY_TABLE case
13-Nov-2009 08:38:08 CMSIHandler::PopulateMSITable: Error in function MsiDatabaseOpenViewA in REGISTRY_TABLE case
13-Nov-2009 08:38:31 CMSIHandler::PopulateMSITable: Error in function MsiDatabaseOpenViewA in REGISTRY_TABLE case
13-Nov-2009 08:39:08 CMSIHandler::PopulateMSITable: Error in function MsiDatabaseOpenViewA in REGISTRY_TABLE case
13-Nov-2009 08:39:10 CMSIHandler::PopulateMSITable: Error in function MsiDatabaseOpenViewA in REGISTRY_TABLE case
13-Nov-2009 08:39:58 CMSIHandler::PopulateMSITable: Error in function MsiDatabaseOpenViewA in REGISTRY_TABLE case
13-Nov-2009 08:40:30 CMSIHandler::BuildMSI:Unable to set MsiRecordSetStream for C:\MSIProject.cab
Posted by:
ltd2007
14 years ago
Posted by:
ltd2007
14 years ago
on the same system, using repackager 1.2 still
I just created a new msi where all it is doing is planting a file on c:\ and it works fine, ran the msi on another workstation, install ssilently and planted the file successfully.
i am also seeing these messages in the log file:
16-Nov-2009 13:17:20 CRegSnapshot::GetSnapShot - RegOpenKeyEx: Access Denied HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Credentials: Error 5:
I just created a new msi where all it is doing is planting a file on c:\ and it works fine, ran the msi on another workstation, install ssilently and planted the file successfully.
i am also seeing these messages in the log file:
16-Nov-2009 13:17:20 CRegSnapshot::GetSnapShot - RegOpenKeyEx: Access Denied HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Credentials: Error 5:
Posted by:
bkelly
14 years ago
Posted by:
ltd2007
14 years ago
Posted by:
ltd2007
14 years ago
Hi,
I tried the new beta version posted but am still seeing the same results. In the recipe file I am seeing all of the files and registry keys that appear to be correct.... The MSI still looks to be without a cab though (420 KB)...
Still see the following in the Errorlog :
I tried the new beta version posted but am still seeing the same results. In the recipe file I am seeing all of the files and registry keys that appear to be correct.... The MSI still looks to be without a cab though (420 KB)...
Still see the following in the Errorlog :
Recipe File Version = '1.1' AppDeploy Repackager Version = '1.2'
23-Nov-2009 13:38:21 CRegSnapshot::GetSnapShot - RegOpenKeyEx: Access Denied HKEY_CURRENT_USER\Software\Microsoft\Protected Storage System Provider\S-1-5-21-1229272821-1647877149-839522115-500: Error 5:
Posted by:
gperks
14 years ago
Posted by:
gperks
14 years ago
Posted by:
ltd2007
14 years ago
Posted by:
AngelD
14 years ago
Posted by:
gperks
14 years ago
Posted by:
ltd2007
14 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.